mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-03 18:09:13 +03:00
[SCons] Add "optimize" and "debug_symbols" options
optimize = auto|none|debug|speed|size|0|1|2|3 debug_symbol = True|False optimize == "auto" will produce: - "debug" for "debug" builds - "speed" for "release" builds
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -90,10 +90,10 @@ jobs:
|
||||
cd test
|
||||
scons platform=${{ matrix.platform }} target=debug ${{ matrix.flags }} build_library=no
|
||||
|
||||
- name: Build test and godot-cpp (release)
|
||||
- name: Build test and godot-cpp (release, with debug symbols)
|
||||
run: |
|
||||
cd test
|
||||
scons platform=${{ matrix.platform }} target=release ${{ matrix.flags }}
|
||||
scons platform=${{ matrix.platform }} target=release debug_symbols=yes ${{ matrix.flags }}
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user