From 62596f3e434f8a407c9b861d33a504ae90a6edcd Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 1 Mar 2024 11:18:11 -0500 Subject: [PATCH] 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). --- Meta/Azure/Caches.yml | 1 + Meta/Azure/Lagom.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Meta/Azure/Caches.yml b/Meta/Azure/Caches.yml index bc8f76e254..ec77e7d43d 100644 --- a/Meta/Azure/Caches.yml +++ b/Meta/Azure/Caches.yml @@ -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' diff --git a/Meta/Azure/Lagom.yml b/Meta/Azure/Lagom.yml index 8bcd730861..514f2f2824 100644 --- a/Meta/Azure/Lagom.yml +++ b/Meta/Azure/Lagom.yml @@ -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: |