From cb2be8723a16f9fdb13582562cb630c945dcd0a7 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 30 Jun 2023 11:44:33 +0200 Subject: Support building for Godot 4.1 (new default). --- .github/workflows/build_release.yml | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to '.github/workflows/build_release.yml') 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: -- cgit v1.2.3