CI: Build without debug symbols to reduce cache size

We often hit "Too Many Requests" errors when uploading the cache with
`actions/cache` because there's a limit of 10 GB every 5 minutes, and we can
easily go over it when we amend or merge several PRs in a short timespan.

This will make the CI artifacts less useful for debugging crashes but there's
no real way around this.

(cherry picked from commit caea551d41)
This commit is contained in:
Rémi Verschelde
2021-02-22 11:49:58 +01:00
parent 2735a5498e
commit f50569a592
7 changed files with 12 additions and 11 deletions

View File

@ -4,6 +4,7 @@ on: [push, pull_request]
# Global Cache Settings
env:
GODOT_BASE_BRANCH: 3.2
SCONSFLAGS: platform=server verbose=yes warnings=all werror=yes debug_symbols=no --jobs=2
SCONS_CACHE_LIMIT: 4096
jobs:
@ -114,4 +115,4 @@ jobs:
env:
SCONS_CACHE: ${{github.workspace}}/.scons_cache/
run: |
scons -j2 verbose=yes warnings=all werror=yes platform=server target=release tools=no module_mono_enabled=yes mono_glue=no
scons -j2 target=release tools=no module_mono_enabled=yes mono_glue=no