mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
[Buildsystem] Tweak cache sizes for CI
This commit is contained in:
committed by
AThousandShips
parent
d09d82d433
commit
344d678bbe
4
.github/workflows/macos_builds.yml
vendored
4
.github/workflows/macos_builds.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user