CI: Reduce the ccache size for CI

We currently use 0.6GB for a clean build with sanitizers enabled. This
will allow us to have ~3 clean builds cached and save 3GB of disk space
on CI. (The effect is actually double, because Azure archives the cache
in a tar file before uploading).
This commit is contained in:
Timothy Flynn 2024-03-01 11:18:11 -05:00 committed by Andreas Kling
parent ba67a0645e
commit 62596f3e43
Notes: sideshowbarker 2024-07-17 11:06:06 +09:00
2 changed files with 2 additions and 1 deletions

View file

@ -55,6 +55,7 @@ steps:
- script: |
CCACHE_DIR=${{ parameters.serenity_ccache_path }} ccache -M ${{ parameters.serenity_ccache_size }}
CCACHE_DIR=${{ parameters.serenity_ccache_path }} ccache -c
CCACHE_DIR=${{ parameters.serenity_ccache_path }} ccache -s
displayName: 'Configure Serenity ccache'

View file

@ -56,7 +56,7 @@ jobs:
with_remote_data_caches: true
${{ if eq(parameters.os, 'macOS') }}:
ccache_version: 2
serenity_ccache_size: '2G'
serenity_ccache_size: '2G'
- ${{ if eq(parameters.os, 'Android') }}:
- script: |