diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-09-24 18:44:25 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-10-04 16:05:40 +0200 |
commit | 64b2c9be0b86c130ff774005f7daa2e869e37c8c (patch) | |
tree | 26dbbbbd2a72c00bbc2187e5d8b0bb541567ac2c /.github/workflows | |
parent | fa4d18f21cfae319b8f16a1604742cfec6022079 (diff) | |
download | redot-cpp-64b2c9be0b86c130ff774005f7daa2e869e37c8c.tar.gz |
[SCons] Refactor targets, symbols, optimizations.
Now matches Godot `master` target names and supports the same flags with
the following notable exceptions:
- The default target is "template_debug", since it's compatible with
editor builds (and TOOLS_ENABLED is never used internally).
- separate_debug_symbols is still not supported, and will be done in a
separate commit.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7784a9e..8db90cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,14 +21,14 @@ jobs: os: ubuntu-18.04 platform: linux artifact-name: godot-cpp-linux-glibc2.27-x86_64-release - artifact-path: bin/libgodot-cpp.linux.release.x86_64.a + artifact-path: bin/libgodot-cpp.linux.template_release.x86_64.a cache-name: linux-x86_64 - name: 🐧 Linux (GCC, Double Precision) os: ubuntu-18.04 platform: linux artifact-name: godot-cpp-linux-glibc2.27-x86_64-double-release - artifact-path: bin/libgodot-cpp.linux.release.x86_64.a + artifact-path: bin/libgodot-cpp.linux.template_release.double.x86_64.a flags: float=64 cache-name: linux-x86_64-f64 @@ -36,14 +36,14 @@ jobs: os: windows-2019 platform: windows artifact-name: godot-cpp-windows-msvc2019-x86_64-release - artifact-path: bin/libgodot-cpp.windows.release.x86_64.lib + artifact-path: bin/libgodot-cpp.windows.template_release.x86_64.lib cache-name: windows-x86_64-msvc - name: 🏁 Windows (x86_64, MinGW) os: windows-2019 platform: windows artifact-name: godot-cpp-linux-mingw-x86_64-release - artifact-path: bin/libgodot-cpp.windows.release.x86_64.a + artifact-path: bin/libgodot-cpp.windows.template_release.x86_64.a flags: use_mingw=yes cache-name: windows-x86_64-mingw @@ -51,7 +51,7 @@ jobs: os: macos-11 platform: macos artifact-name: godot-cpp-macos-universal-release - artifact-path: bin/libgodot-cpp.macos.release.universal.a + artifact-path: bin/libgodot-cpp.macos.template_release.universal.a flags: arch=universal cache-name: macos-universal @@ -59,7 +59,7 @@ jobs: os: ubuntu-18.04 platform: android artifact-name: godot-cpp-android-arm64-release - artifact-path: bin/libgodot-cpp.android.release.arm64.a + artifact-path: bin/libgodot-cpp.android.template_release.arm64.a flags: ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME arch=arm64 cache-name: android-arm64 @@ -67,7 +67,7 @@ jobs: os: macos-11 platform: ios artifact-name: godot-cpp-ios-arm64-release - artifact-path: bin/libgodot-cpp.ios.release.arm64.a + artifact-path: bin/libgodot-cpp.ios.template_release.arm64.a flags: arch=arm64 cache-name: ios-arm64 @@ -107,17 +107,17 @@ jobs: - name: Build godot-cpp (debug) run: | - scons platform=${{ matrix.platform }} target=debug ${{ matrix.flags }} + scons platform=${{ matrix.platform }} target=template_debug ${{ matrix.flags }} - name: Build test without rebuilding godot-cpp (debug) run: | cd test - scons platform=${{ matrix.platform }} target=debug ${{ matrix.flags }} build_library=no + scons platform=${{ matrix.platform }} target=template_debug ${{ matrix.flags }} build_library=no - - name: Build test and godot-cpp (release, with debug symbols) + - name: Build test and godot-cpp (release) run: | cd test - scons platform=${{ matrix.platform }} target=release debug_symbols=yes ${{ matrix.flags }} + scons platform=${{ matrix.platform }} target=template_release ${{ matrix.flags }} - name: Upload artifact uses: actions/upload-artifact@v3 |