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:
parent
2735a5498e
commit
f50569a592
7 changed files with 12 additions and 11 deletions
2
.github/workflows/android_builds.yml
vendored
2
.github/workflows/android_builds.yml
vendored
|
@ -4,7 +4,7 @@ on: [push, pull_request]
|
|||
# Global Settings
|
||||
env:
|
||||
GODOT_BASE_BRANCH: 3.2
|
||||
SCONSFLAGS: platform=android verbose=yes warnings=all werror=yes --jobs=2
|
||||
SCONSFLAGS: platform=android verbose=yes warnings=all werror=yes debug_symbols=no --jobs=2
|
||||
SCONS_CACHE_LIMIT: 4096
|
||||
ANDROID_NDK_VERSION: 21.1.6352462
|
||||
|
||||
|
|
2
.github/workflows/ios_builds.yml
vendored
2
.github/workflows/ios_builds.yml
vendored
|
@ -4,7 +4,7 @@ on: [push, pull_request]
|
|||
# Global Settings
|
||||
env:
|
||||
GODOT_BASE_BRANCH: 3.2
|
||||
SCONSFLAGS: platform=iphone verbose=yes warnings=all werror=yes --jobs=2
|
||||
SCONSFLAGS: platform=iphone verbose=yes warnings=all werror=yes debug_symbols=no --jobs=2
|
||||
SCONS_CACHE_LIMIT: 4096
|
||||
|
||||
jobs:
|
||||
|
|
2
.github/workflows/javascript_builds.yml
vendored
2
.github/workflows/javascript_builds.yml
vendored
|
@ -4,7 +4,7 @@ on: [push, pull_request]
|
|||
# Global Settings
|
||||
env:
|
||||
GODOT_BASE_BRANCH: 3.2
|
||||
SCONSFLAGS: platform=javascript verbose=yes warnings=all werror=yes --jobs=2
|
||||
SCONSFLAGS: platform=javascript verbose=yes warnings=all werror=yes debug_symbols=no --jobs=2
|
||||
SCONS_CACHE_LIMIT: 4096
|
||||
EM_VERSION: 1.39.20
|
||||
EM_CACHE_FOLDER: 'emsdk-cache'
|
||||
|
|
6
.github/workflows/linux_builds.yml
vendored
6
.github/workflows/linux_builds.yml
vendored
|
@ -4,7 +4,7 @@ on: [push, pull_request]
|
|||
# Global Settings
|
||||
env:
|
||||
GODOT_BASE_BRANCH: 3.2
|
||||
SCONSFLAGS: platform=linuxbsd verbose=yes warnings=all werror=yes --jobs=2
|
||||
SCONSFLAGS: platform=linuxbsd verbose=yes warnings=all werror=yes debug_symbols=no --jobs=2
|
||||
SCONS_CACHE_LIMIT: 4096
|
||||
|
||||
jobs:
|
||||
|
@ -126,7 +126,7 @@ jobs:
|
|||
env:
|
||||
SCONS_CACHE: ${{github.workspace}}/.scons_cache/
|
||||
run: |
|
||||
scons target=release tools=no module_mono_enabled=yes mono_glue=no debug_symbols=no
|
||||
scons target=release tools=no module_mono_enabled=yes mono_glue=no
|
||||
ls -l bin/
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
@ -137,7 +137,7 @@ jobs:
|
|||
|
||||
linux-editor-sanitizers:
|
||||
runs-on: "ubuntu-20.04"
|
||||
name: Editor and exported project with sanitizers (target=debug/release, tools=yes/no, debug_symbols=yes/full, use_ubsan=yes, use_asan=yes)
|
||||
name: Editor and exported project with sanitizers (target=debug/release, tools=yes/no, use_ubsan=yes, use_asan=yes)
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
4
.github/workflows/macos_builds.yml
vendored
4
.github/workflows/macos_builds.yml
vendored
|
@ -4,7 +4,7 @@ on: [push, pull_request]
|
|||
# Global Settings
|
||||
env:
|
||||
GODOT_BASE_BRANCH: 3.2
|
||||
SCONSFLAGS: platform=osx verbose=yes warnings=all werror=yes --jobs=2
|
||||
SCONSFLAGS: platform=osx verbose=yes warnings=all werror=yes debug_symbols=no --jobs=2
|
||||
SCONS_CACHE_LIMIT: 4096
|
||||
|
||||
jobs:
|
||||
|
@ -99,7 +99,7 @@ jobs:
|
|||
env:
|
||||
SCONS_CACHE: ${{github.workspace}}/.scons_cache/
|
||||
run: |
|
||||
scons target=release tools=no debug_symbols=no
|
||||
scons target=release tools=no
|
||||
ls -l bin/
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
|
3
.github/workflows/server_builds.yml
vendored
3
.github/workflows/server_builds.yml
vendored
|
@ -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
|
||||
|
|
4
.github/workflows/windows_builds.yml
vendored
4
.github/workflows/windows_builds.yml
vendored
|
@ -5,7 +5,7 @@ on: [push, pull_request]
|
|||
# SCONS_CACHE for windows must be set in the build environment
|
||||
env:
|
||||
GODOT_BASE_BRANCH: 3.2
|
||||
SCONSFLAGS: platform=windows verbose=yes warnings=all werror=yes --jobs=2
|
||||
SCONSFLAGS: platform=windows verbose=yes warnings=all werror=yes debug_symbols=no --jobs=2
|
||||
SCONS_CACHE_MSVC_CONFIG: true
|
||||
SCONS_CACHE_LIMIT: 4096
|
||||
|
||||
|
@ -105,7 +105,7 @@ jobs:
|
|||
env:
|
||||
SCONS_CACHE: /.scons_cache/
|
||||
run: |
|
||||
scons target=release tools=no debug_symbols=no
|
||||
scons target=release tools=no
|
||||
ls -l bin/
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
|
|
Loading…
Reference in a new issue