summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-07-01 19:43:42 +0200
committerGitHub <noreply@github.com>2023-07-01 19:43:42 +0200
commit6e2262b6c33bd0fa2cb67ff6d4a2f360f0c15913 (patch)
tree20c0c99c5217792e054f876712a54ae8b4f1eec8 /.github/workflows
parentd278661d767f5e1f8f68af2d0a706f5f044aa5d3 (diff)
parentcb2be8723a16f9fdb13582562cb630c945dcd0a7 (diff)
downloadfork-godot-webrtc-native-6e2262b6c33bd0fa2cb67ff6d4a2f360f0c15913.tar.gz
fork-godot-webrtc-native-6e2262b6c33bd0fa2cb67ff6d4a2f360f0c15913.tar.bz2
fork-godot-webrtc-native-6e2262b6c33bd0fa2cb67ff6d4a2f360f0c15913.zip
Merge pull request #113 from Faless/spike/4.1
Support building for Godot 4.1 (new default).
Diffstat (limited to '.github/workflows')
-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: