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.
This commit is contained in:
Rémi Verschelde 2022-03-30 10:16:03 +02:00
parent f6ef63635f
commit 9522032adf
2 changed files with 5 additions and 3 deletions

View File

@ -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:

View File

@ -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