[Buildsystem] Tweak cache sizes for CI

This commit is contained in:
A Thousand Ships
2024-11-21 13:32:53 +01:00
committed by AThousandShips
parent d09d82d433
commit 344d678bbe
6 changed files with 22 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ jobs:
target: editor
tests: true
bin: ./bin/godot.macos.editor.universal
cache-limit: 1
- name: Template (target=template_release, tests=yes)
cache-name: macos-template
@@ -32,6 +33,7 @@ jobs:
tests: true
sconsflags: debug_symbols=no
bin: ./bin/godot.macos.template_release.universal
cache-limit: 1
steps:
- name: Checkout
@@ -59,6 +61,7 @@ jobs:
platform: macos
target: ${{ matrix.target }}
tests: ${{ matrix.tests }}
scons-cache-limit: 0 # Only cap on second run to avoid purging unnecessarily
- name: Compilation (arm64)
uses: ./.github/actions/godot-build
@@ -67,6 +70,7 @@ jobs:
platform: macos
target: ${{ matrix.target }}
tests: ${{ matrix.tests }}
scons-cache-limit: ${{ matrix.cache-limit }}
- name: Save Godot build cache
uses: ./.github/actions/godot-cache-save