mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #99709 from AThousandShips/cache_size_improve
[Buildsystem] Tweak cache sizes for CI
This commit is contained in:
commit
82d51a3902
6 changed files with 22 additions and 0 deletions
4
.github/workflows/android_builds.yml
vendored
4
.github/workflows/android_builds.yml
vendored
|
@ -25,18 +25,21 @@ jobs:
|
||||||
target: editor
|
target: editor
|
||||||
tests: false
|
tests: false
|
||||||
sconsflags: arch=arm64 production=yes swappy=yes
|
sconsflags: arch=arm64 production=yes swappy=yes
|
||||||
|
cache-limit: 1
|
||||||
|
|
||||||
- name: Template arm32 (target=template_release, arch=arm32)
|
- name: Template arm32 (target=template_release, arch=arm32)
|
||||||
cache-name: android-template-arm32
|
cache-name: android-template-arm32
|
||||||
target: template_release
|
target: template_release
|
||||||
tests: false
|
tests: false
|
||||||
sconsflags: arch=arm32 swappy=yes
|
sconsflags: arch=arm32 swappy=yes
|
||||||
|
cache-limit: 1
|
||||||
|
|
||||||
- name: Template arm64 (target=template_release, arch=arm64)
|
- name: Template arm64 (target=template_release, arch=arm64)
|
||||||
cache-name: android-template-arm64
|
cache-name: android-template-arm64
|
||||||
target: template_release
|
target: template_release
|
||||||
tests: false
|
tests: false
|
||||||
sconsflags: arch=arm64 swappy=yes
|
sconsflags: arch=arm64 swappy=yes
|
||||||
|
cache-limit: 1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -77,6 +80,7 @@ jobs:
|
||||||
platform: android
|
platform: android
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
tests: ${{ matrix.tests }}
|
tests: ${{ matrix.tests }}
|
||||||
|
scons-cache-limit: ${{ matrix.cache-limit }}
|
||||||
|
|
||||||
- name: Save Godot build cache
|
- name: Save Godot build cache
|
||||||
uses: ./.github/actions/godot-cache-save
|
uses: ./.github/actions/godot-cache-save
|
||||||
|
|
1
.github/workflows/ios_builds.yml
vendored
1
.github/workflows/ios_builds.yml
vendored
|
@ -37,6 +37,7 @@ jobs:
|
||||||
platform: ios
|
platform: ios
|
||||||
target: template_release
|
target: template_release
|
||||||
tests: false
|
tests: false
|
||||||
|
scons-cache-limit: 1
|
||||||
|
|
||||||
- name: Save Godot build cache
|
- name: Save Godot build cache
|
||||||
uses: ./.github/actions/godot-cache-save
|
uses: ./.github/actions/godot-cache-save
|
||||||
|
|
7
.github/workflows/linux_builds.yml
vendored
7
.github/workflows/linux_builds.yml
vendored
|
@ -35,6 +35,7 @@ jobs:
|
||||||
proj-conv: true
|
proj-conv: true
|
||||||
api-compat: true
|
api-compat: true
|
||||||
artifact: true
|
artifact: true
|
||||||
|
cache-limit: 1
|
||||||
|
|
||||||
- name: Editor with doubles and GCC sanitizers (target=editor, tests=yes, dev_build=yes, scu_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=gold)
|
- name: Editor with doubles and GCC sanitizers (target=editor, tests=yes, dev_build=yes, scu_build=yes, precision=double, use_asan=yes, use_ubsan=yes, linker=gold)
|
||||||
cache-name: linux-editor-double-sanitizers
|
cache-name: linux-editor-double-sanitizers
|
||||||
|
@ -49,6 +50,7 @@ jobs:
|
||||||
api-dump: true
|
api-dump: true
|
||||||
# Skip 2GiB artifact speeding up action.
|
# Skip 2GiB artifact speeding up action.
|
||||||
artifact: false
|
artifact: false
|
||||||
|
cache-limit: 7
|
||||||
|
|
||||||
- name: Editor with clang sanitizers (target=editor, tests=yes, dev_build=yes, use_asan=yes, use_ubsan=yes, use_llvm=yes, linker=lld)
|
- name: Editor with clang sanitizers (target=editor, tests=yes, dev_build=yes, use_asan=yes, use_ubsan=yes, use_llvm=yes, linker=lld)
|
||||||
cache-name: linux-editor-llvm-sanitizers
|
cache-name: linux-editor-llvm-sanitizers
|
||||||
|
@ -61,6 +63,7 @@ jobs:
|
||||||
artifact: false
|
artifact: false
|
||||||
# Test our oldest supported SCons/Python versions on one arbitrary editor build.
|
# Test our oldest supported SCons/Python versions on one arbitrary editor build.
|
||||||
legacy-scons: true
|
legacy-scons: true
|
||||||
|
cache-limit: 7
|
||||||
|
|
||||||
- name: Editor with ThreadSanitizer (target=editor, tests=yes, dev_build=yes, use_tsan=yes, use_llvm=yes, linker=lld)
|
- name: Editor with ThreadSanitizer (target=editor, tests=yes, dev_build=yes, use_tsan=yes, use_llvm=yes, linker=lld)
|
||||||
cache-name: linux-editor-thread-sanitizer
|
cache-name: linux-editor-thread-sanitizer
|
||||||
|
@ -71,6 +74,7 @@ jobs:
|
||||||
build-mono: false
|
build-mono: false
|
||||||
# Skip 2GiB artifact speeding up action.
|
# Skip 2GiB artifact speeding up action.
|
||||||
artifact: false
|
artifact: false
|
||||||
|
cache-limit: 5
|
||||||
|
|
||||||
- name: Template w/ Mono (target=template_release, tests=yes)
|
- name: Template w/ Mono (target=template_release, tests=yes)
|
||||||
cache-name: linux-template-mono
|
cache-name: linux-template-mono
|
||||||
|
@ -80,6 +84,7 @@ jobs:
|
||||||
build-mono: false
|
build-mono: false
|
||||||
tests: true
|
tests: true
|
||||||
artifact: true
|
artifact: true
|
||||||
|
cache-limit: 1
|
||||||
|
|
||||||
- name: Minimal template (target=template_release, tests=yes, everything disabled)
|
- name: Minimal template (target=template_release, tests=yes, everything disabled)
|
||||||
cache-name: linux-template-minimal
|
cache-name: linux-template-minimal
|
||||||
|
@ -88,6 +93,7 @@ jobs:
|
||||||
bin: ./bin/godot.linuxbsd.template_release.x86_64
|
bin: ./bin/godot.linuxbsd.template_release.x86_64
|
||||||
tests: true
|
tests: true
|
||||||
artifact: true
|
artifact: true
|
||||||
|
cache-limit: 1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -140,6 +146,7 @@ jobs:
|
||||||
platform: linuxbsd
|
platform: linuxbsd
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
tests: ${{ matrix.tests }}
|
tests: ${{ matrix.tests }}
|
||||||
|
scons-cache-limit: ${{ matrix.cache-limit }}
|
||||||
|
|
||||||
- name: Save Godot build cache
|
- name: Save Godot build cache
|
||||||
uses: ./.github/actions/godot-cache-save
|
uses: ./.github/actions/godot-cache-save
|
||||||
|
|
4
.github/workflows/macos_builds.yml
vendored
4
.github/workflows/macos_builds.yml
vendored
|
@ -25,6 +25,7 @@ jobs:
|
||||||
target: editor
|
target: editor
|
||||||
tests: true
|
tests: true
|
||||||
bin: ./bin/godot.macos.editor.universal
|
bin: ./bin/godot.macos.editor.universal
|
||||||
|
cache-limit: 1
|
||||||
|
|
||||||
- name: Template (target=template_release, tests=yes)
|
- name: Template (target=template_release, tests=yes)
|
||||||
cache-name: macos-template
|
cache-name: macos-template
|
||||||
|
@ -32,6 +33,7 @@ jobs:
|
||||||
tests: true
|
tests: true
|
||||||
sconsflags: debug_symbols=no
|
sconsflags: debug_symbols=no
|
||||||
bin: ./bin/godot.macos.template_release.universal
|
bin: ./bin/godot.macos.template_release.universal
|
||||||
|
cache-limit: 1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -59,6 +61,7 @@ jobs:
|
||||||
platform: macos
|
platform: macos
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
tests: ${{ matrix.tests }}
|
tests: ${{ matrix.tests }}
|
||||||
|
scons-cache-limit: 0 # Only cap on second run to avoid purging unnecessarily
|
||||||
|
|
||||||
- name: Compilation (arm64)
|
- name: Compilation (arm64)
|
||||||
uses: ./.github/actions/godot-build
|
uses: ./.github/actions/godot-build
|
||||||
|
@ -67,6 +70,7 @@ jobs:
|
||||||
platform: macos
|
platform: macos
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
tests: ${{ matrix.tests }}
|
tests: ${{ matrix.tests }}
|
||||||
|
scons-cache-limit: ${{ matrix.cache-limit }}
|
||||||
|
|
||||||
- name: Save Godot build cache
|
- name: Save Godot build cache
|
||||||
uses: ./.github/actions/godot-cache-save
|
uses: ./.github/actions/godot-cache-save
|
||||||
|
|
1
.github/workflows/web_builds.yml
vendored
1
.github/workflows/web_builds.yml
vendored
|
@ -67,6 +67,7 @@ jobs:
|
||||||
platform: web
|
platform: web
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
tests: ${{ matrix.tests }}
|
tests: ${{ matrix.tests }}
|
||||||
|
scons-cache-limit: 0.5
|
||||||
|
|
||||||
- name: Save Godot build cache
|
- name: Save Godot build cache
|
||||||
uses: ./.github/actions/godot-cache-save
|
uses: ./.github/actions/godot-cache-save
|
||||||
|
|
5
.github/workflows/windows_builds.yml
vendored
5
.github/workflows/windows_builds.yml
vendored
|
@ -31,6 +31,7 @@ jobs:
|
||||||
sconsflags: debug_symbols=no vsproj=yes vsproj_gen_only=no windows_subsystem=console
|
sconsflags: debug_symbols=no vsproj=yes vsproj_gen_only=no windows_subsystem=console
|
||||||
bin: ./bin/godot.windows.editor.x86_64.exe
|
bin: ./bin/godot.windows.editor.x86_64.exe
|
||||||
compiler: msvc
|
compiler: msvc
|
||||||
|
cache-limit: 2
|
||||||
|
|
||||||
- name: Editor w/ clang-cl (target=editor, tests=yes, use_llvm=yes)
|
- name: Editor w/ clang-cl (target=editor, tests=yes, use_llvm=yes)
|
||||||
cache-name: windows-editor-clang
|
cache-name: windows-editor-clang
|
||||||
|
@ -39,6 +40,7 @@ jobs:
|
||||||
sconsflags: debug_symbols=no windows_subsystem=console use_llvm=yes
|
sconsflags: debug_symbols=no windows_subsystem=console use_llvm=yes
|
||||||
bin: ./bin/godot.windows.editor.x86_64.llvm.exe
|
bin: ./bin/godot.windows.editor.x86_64.llvm.exe
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
cache-limit: 1
|
||||||
|
|
||||||
- name: Template (target=template_release, tests=yes)
|
- name: Template (target=template_release, tests=yes)
|
||||||
cache-name: windows-template
|
cache-name: windows-template
|
||||||
|
@ -47,6 +49,7 @@ jobs:
|
||||||
sconsflags: debug_symbols=no
|
sconsflags: debug_symbols=no
|
||||||
bin: ./bin/godot.windows.template_release.x86_64.console.exe
|
bin: ./bin/godot.windows.template_release.x86_64.console.exe
|
||||||
compiler: msvc
|
compiler: msvc
|
||||||
|
cache-limit: 2
|
||||||
|
|
||||||
- name: Template w/ GCC (target=template_release, tests=yes, use_mingw=yes)
|
- name: Template w/ GCC (target=template_release, tests=yes, use_mingw=yes)
|
||||||
cache-name: windows-template-gcc
|
cache-name: windows-template-gcc
|
||||||
|
@ -56,6 +59,7 @@ jobs:
|
||||||
sconsflags: debug_symbols=no use_mingw=yes
|
sconsflags: debug_symbols=no use_mingw=yes
|
||||||
bin: ./bin/godot.windows.template_release.x86_64.console.exe
|
bin: ./bin/godot.windows.template_release.x86_64.console.exe
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
cache-limit: 1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -93,6 +97,7 @@ jobs:
|
||||||
platform: windows
|
platform: windows
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
tests: ${{ matrix.tests }}
|
tests: ${{ matrix.tests }}
|
||||||
|
scons-cache-limit: ${{ matrix.cache-limit }}
|
||||||
|
|
||||||
- name: Save Godot build cache
|
- name: Save Godot build cache
|
||||||
uses: ./.github/actions/godot-cache-save
|
uses: ./.github/actions/godot-cache-save
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue