|
35 | 35 | proj-conv: true |
36 | 36 | api-compat: true |
37 | 37 | artifact: true |
| 38 | + cache-limit: 1 |
38 | 39 |
|
39 | 40 | - 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) |
40 | 41 | cache-name: linux-editor-double-sanitizers |
|
49 | 50 | api-dump: true |
50 | 51 | # Skip 2GiB artifact speeding up action. |
51 | 52 | artifact: false |
| 53 | + cache-limit: 7 |
52 | 54 |
|
53 | 55 | - name: Editor with clang sanitizers (target=editor, tests=yes, dev_build=yes, use_asan=yes, use_ubsan=yes, use_llvm=yes, linker=lld) |
54 | 56 | cache-name: linux-editor-llvm-sanitizers |
|
61 | 63 | artifact: false |
62 | 64 | # Test our oldest supported SCons/Python versions on one arbitrary editor build. |
63 | 65 | legacy-scons: true |
| 66 | + cache-limit: 7 |
64 | 67 |
|
65 | 68 | - name: Editor with ThreadSanitizer (target=editor, tests=yes, dev_build=yes, use_tsan=yes, use_llvm=yes, linker=lld) |
66 | 69 | cache-name: linux-editor-thread-sanitizer |
|
71 | 74 | build-mono: false |
72 | 75 | # Skip 2GiB artifact speeding up action. |
73 | 76 | artifact: false |
| 77 | + cache-limit: 5 |
74 | 78 |
|
75 | 79 | - name: Template w/ Mono (target=template_release, tests=yes) |
76 | 80 | cache-name: linux-template-mono |
|
80 | 84 | build-mono: false |
81 | 85 | tests: true |
82 | 86 | artifact: true |
| 87 | + cache-limit: 1 |
83 | 88 |
|
84 | 89 | - name: Minimal template (target=template_release, tests=yes, everything disabled) |
85 | 90 | cache-name: linux-template-minimal |
|
88 | 93 | bin: ./bin/godot.linuxbsd.template_release.x86_64 |
89 | 94 | tests: true |
90 | 95 | artifact: true |
| 96 | + cache-limit: 1 |
91 | 97 |
|
92 | 98 | steps: |
93 | 99 | - name: Checkout |
@@ -140,6 +146,7 @@ jobs: |
140 | 146 | platform: linuxbsd |
141 | 147 | target: ${{ matrix.target }} |
142 | 148 | tests: ${{ matrix.tests }} |
| 149 | + scons-cache-limit: ${{ matrix.cache-limit }} |
143 | 150 |
|
144 | 151 | - name: Save Godot build cache |
145 | 152 | uses: ./.github/actions/godot-cache-save |
|
0 commit comments