mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
fix(ci/compiler): Remove KeySetCache directory on mac os CI to avoid space disk issues
This commit is contained in:
committed by
Quentin Bourgerie
parent
c53985f112
commit
22bbdec086
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user