ci: limit the ccache size to 3GB

This commit is contained in:
Tommaso Pecorella
2024-09-08 00:14:01 +02:00
committed by Tommaso Pecorella
parent 498a832e87
commit 9d80dbbd27

View File

@@ -65,6 +65,8 @@ workflow:
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/$CCACHE_BASEDIR_VALUE
- export MPI_CI=1
- ccache -M 3G # Set maximum cache size to 3GB
- ccache -F 0 # Remove the limit on number of files in the cache
- CXX=$COMPILER ./ns3 configure -d $MODE -GNinja --enable-examples --enable-tests --enable-asserts --enable-werror --enable-mpi
$EXTRA_OPTIONS
- ccache -z