summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-06-30 11:44:33 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-06-30 16:52:36 +0200
commitcb2be8723a16f9fdb13582562cb630c945dcd0a7 (patch)
tree20c0c99c5217792e054f876712a54ae8b4f1eec8 /.github
parentd278661d767f5e1f8f68af2d0a706f5f044aa5d3 (diff)
downloadfork-godot-webrtc-native-cb2be8723a16f9fdb13582562cb630c945dcd0a7.tar.gz
fork-godot-webrtc-native-cb2be8723a16f9fdb13582562cb630c945dcd0a7.tar.bz2
fork-godot-webrtc-native-cb2be8723a16f9fdb13582562cb630c945dcd0a7.zip
Support building for Godot 4.1 (new default).
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_release.yml30
1 files changed, 22 insertions, 8 deletions
diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml
index 03e6a08..edfb418 100644
--- a/.github/workflows/build_release.yml
+++ b/.github/workflows/build_release.yml
@@ -177,15 +177,23 @@ jobs:
scons --version
cmake --version
- - name: Compile Extension - template_debug - ${{ matrix.platform }} - ${{ matrix.arch }}
+ - name: Compile Extension (4.1+) - template_debug - ${{ matrix.platform }} - ${{ matrix.arch }}
run: |
- scons target=template_debug
+ scons target=template_debug godot_version=4.1
- - name: Compile Extension - template_release - ${{ matrix.platform }} - ${{ matrix.arch }}
+ - name: Compile Extension (4.1+) - template_release - ${{ matrix.platform }} - ${{ matrix.arch }}
run: |
- scons target=template_release
+ scons target=template_release godot_version=4.1
- - name: Compile GDNative - release ${{ matrix.platform }} - ${{ matrix.arch }}
+ - name: Compile Extension (4.0) - template_debug - ${{ matrix.platform }} - ${{ matrix.arch }}
+ run: |
+ scons target=template_debug godot_version=4.0
+
+ - name: Compile Extension (4.0) - template_release - ${{ matrix.platform }} - ${{ matrix.arch }}
+ run: |
+ scons target=template_release godot_version=4.0
+
+ - name: Compile GDNative (3.5+) - release ${{ matrix.platform }} - ${{ matrix.arch }}
run: |
scons target=release generate_bindings=yes ${{ matrix.gdnative_flags }} godot_version=3
@@ -226,15 +234,21 @@ jobs:
run: |
mkdir release
- VERSION="extension" TYPE="webrtc" ./misc/scripts/package_release.sh
+ VERSION="extension-4.1" TYPE="webrtc" ./misc/scripts/package_release.sh
+ VERSION="extension-4.0" TYPE="webrtc" ./misc/scripts/package_release.sh
VERSION="gdnative" TYPE="webrtc" ./misc/scripts/package_release.sh
ls -R release
- uses: actions/upload-artifact@v3
with:
- name: godot-webrtc-extension
- path: release/*-extension-*.zip
+ name: godot-webrtc-extension-4.1
+ path: release/*-extension-4.1-*.zip
+
+ - uses: actions/upload-artifact@v3
+ with:
+ name: godot-webrtc-extension-4.0
+ path: release/*-extension-4.0-*.zip
- uses: actions/upload-artifact@v3
with: