mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
chore(ci): enable debug symbols for debug builds
Exclude Windows as it leads to a "warning LNK4099: PDB '' was not found with 'constants.windows.template_debug.x86_64.obj' or at ''" error on subsequent runs.
This commit is contained in:
parent
e1000adbe5
commit
46f3aa12bf
2 changed files with 7 additions and 2 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -160,7 +160,7 @@ jobs:
|
||||||
SCONS_CACHE: ${{github.workspace}}/.scons-cache
|
SCONS_CACHE: ${{github.workspace}}/.scons-cache
|
||||||
run: |
|
run: |
|
||||||
cd addons/godot_xterm/native
|
cd addons/godot_xterm/native
|
||||||
scons platform=${{ matrix.platform }} target=template_${{ matrix.target }} arch=${{ matrix.arch }} -j2
|
scons platform=${{ matrix.platform }} target=template_${{ matrix.target }} arch=${{ matrix.arch }} debug_symbols=${{ matrix.platform != 'windows' && matrix.target == 'debug' && 'yes' || 'no' }} -j2
|
||||||
- name: Upload binaries
|
- name: Upload binaries
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -56,4 +56,9 @@ services:
|
||||||
- /bin/bash
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
scons target=template_$${TARGET:-debug} arch=$${ARCH:-x86_64}
|
if [ -z "$$DEBUG_SYMBOLS" ]; then
|
||||||
|
if [ "$$TARGET" == "debug" ]; then
|
||||||
|
DEBUG_SYMBOLS=yes
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
scons target=template_$${TARGET:-debug} arch=$${ARCH:-x86_64} debug_symbols=$${DEBUG_SYMBOLS:-no}
|
||||||
|
|
Loading…
Reference in a new issue