Skip to content

Commit 056132e

Browse files
committed
[cheriot] Perform explicit ccache trimming in CI jobs
1 parent f94d283 commit 056132e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.cirrus.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ pr_task:
2626
- cd Build
2727
- export CCACHE_REMOTE_STORAGE="http://${CIRRUS_HTTP_CACHE_HOST}/${CIRRUS_OS}/"
2828
- export CCACHE_REMOTE_ONLY=1
29+
- ccache --trim-dir . --trim-max-size 20G
2930
- ninja test-depends
3031
test_script:
3132
- cd Build
@@ -57,6 +58,7 @@ x86_release_task:
5758
- cd Build
5859
- export CCACHE_REMOTE_STORAGE="http://${CIRRUS_HTTP_CACHE_HOST}/release-amd64/${CIRRUS_OS}/"
5960
- export CCACHE_REMOTE_ONLY=1
61+
- ccache --trim-dir . --trim-max-size 20G
6062
- ninja install-distribution
6163
- cp ../llvm/LICENSE.TXT install/LLVM-LICENSE.TXT
6264
# Artefact upload uploads symlinks as copies, so delete all of the clang symlinks
@@ -91,6 +93,7 @@ arm_release_task:
9193
- cd Build
9294
- export CCACHE_REMOTE_STORAGE="http://${CIRRUS_HTTP_CACHE_HOST}/release/${CIRRUS_OS}/arm64/"
9395
- export CCACHE_REMOTE_ONLY=1
96+
- ccache --trim-dir . --trim-max-size 20G
9497
- ninja install-distribution
9598
- cp ../llvm/LICENSE.TXT install/LLVM-LICENSE.TXT
9699
# Artefact upload uploads symlinks as copies, so delete all of the clang symlinks

0 commit comments

Comments
 (0)