fix(ci/compiler): Remove KeySetCache directory on mac os CI to avoid space disk issues

This commit is contained in:
Bourgerie Quentin
2024-02-19 17:52:20 +01:00
committed by Quentin Bourgerie
parent c53985f112
commit 22bbdec086
2 changed files with 16 additions and 2 deletions

View File

@@ -89,6 +89,10 @@ jobs:
- name: Test
run: |
set -e
export KEY_CACHE_DIRECTORY=$(mktemp -d)/KeySetCache
echo "KEY_CACHE_DIRECTORY=$KEY_CACHE_DIRECTORY" >> "${GITHUB_ENV}"
mkdir $KEY_CACHE_DIRECTORY
cd compilers/concrete-compiler/compiler
echo "Debug: ccache statistics (prior to the tests):"
ccache -s
@@ -97,3 +101,8 @@ jobs:
make MINIMAL_TESTS=${{ env.MINIMAL_TESTS }} Python3_EXECUTABLE=$(which python3.10) run-tests
echo "Debug: ccache statistics (after the tests):"
ccache -s
- name: Cleanup host
if: success() || failure()
run: |
rm -rf $KEY_CACHE_DIRECTORY