diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-30 10:16:03 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-30 10:16:03 +0200 |
commit | 9522032adf1fc67c5b493d83490853a2813cdf29 (patch) | |
tree | 2f5f98222116424ee261ecead9cfa88f817e4934 /.github | |
parent | f6ef63635f92c0a8c9c637c488f0ec129217fade (diff) |
CI: Reduce max cache to 7 GiB, remove Windows debug symbols
GitHub Actions runners only have 14 GiB available, so we need
to keep the cache constrained.
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/godot-build/action.yml | 5 | ||||
-rw-r--r-- | .github/workflows/windows_builds.yml | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.github/actions/godot-build/action.yml b/.github/actions/godot-build/action.yml index e2dd0f7626..7af3516f71 100644 --- a/.github/actions/godot-build/action.yml +++ b/.github/actions/godot-build/action.yml @@ -20,8 +20,9 @@ inputs: default: "${{ github.workspace }}/.scons-cache/" scons-cache-limit: description: The scons cache size limit. - # actions/cache has 10 GiB limit. Allow 10 GiB minus 256 MiB. - default: 9984 + # actions/cache has 10 GiB limit, and GitHub runners have a 14 GiB disk. + # Limit to 7 GiB to avoid having the extracted cache fill the disk. + default: 7168 runs: using: "composite" steps: diff --git a/.github/workflows/windows_builds.yml b/.github/workflows/windows_builds.yml index c0b291b252..4919f34cf0 100644 --- a/.github/workflows/windows_builds.yml +++ b/.github/workflows/windows_builds.yml @@ -27,6 +27,8 @@ jobs: target: release_debug tools: true tests: true + # Skip debug symbols, they're way too big with MSVC. + sconsflags: debug_symbols=no bin: "./bin/godot.windows.opt.tools.64.exe" - name: Template (target=release, tools=no) @@ -57,7 +59,6 @@ jobs: target: ${{ matrix.target }} tools: ${{ matrix.tools }} tests: ${{ matrix.tests }} - scons-cache-limit: 8192 # Execute unit tests for the editor - name: Unit tests |