CI: Build test binaries with debug symbols, then strip
This allows having good stacktraces when the tests crash.
(cherry picked from commit c4fa301b6b
)
This commit is contained in:
parent
4f734c15a4
commit
e2b2319ee5
2 changed files with 7 additions and 3 deletions
9
.github/workflows/linux_builds.yml
vendored
9
.github/workflows/linux_builds.yml
vendored
|
@ -4,7 +4,7 @@ on: [push, pull_request]
|
|||
# Global Settings
|
||||
env:
|
||||
GODOT_BASE_BRANCH: 3.x
|
||||
SCONSFLAGS: verbose=yes warnings=all werror=yes debug_symbols=no
|
||||
SCONSFLAGS: verbose=yes warnings=all werror=yes
|
||||
|
||||
concurrency:
|
||||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-linux
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
cache-name: linux-template-mono
|
||||
target: release
|
||||
tools: false
|
||||
sconsflags: module_mono_enabled=yes mono_glue=no
|
||||
sconsflags: module_mono_enabled=yes mono_glue=no debug_symbols=no
|
||||
build-mono: false
|
||||
artifact: true
|
||||
|
||||
|
@ -125,6 +125,11 @@ jobs:
|
|||
DRI_PRIME=0 xvfb-run ${{ matrix.bin }} --doctool . 2>&1 > /dev/null || true
|
||||
git diff --color --exit-code && ! git ls-files --others --exclude-standard | sed -e 's/^/New doc file missing in PR: /' | grep 'xml$'
|
||||
|
||||
- name: Prepare artifact
|
||||
if: ${{ matrix.artifact }}
|
||||
run: |
|
||||
strip bin/godot.*
|
||||
|
||||
- name: Upload artifact
|
||||
uses: ./.github/actions/upload-artifact
|
||||
if: ${{ matrix.artifact }}
|
||||
|
|
1
.github/workflows/windows_builds.yml
vendored
1
.github/workflows/windows_builds.yml
vendored
|
@ -41,7 +41,6 @@ jobs:
|
|||
cache-name: ${{ matrix.cache-name }}
|
||||
continue-on-error: true
|
||||
|
||||
|
||||
- name: Setup python and scons
|
||||
uses: ./.github/actions/godot-deps
|
||||
|
||||
|
|
Loading…
Reference in a new issue