From 9d80dbbd27ed5c5a6dd4b4b686873c9e91d8adcf Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Sun, 8 Sep 2024 00:14:01 +0200 Subject: [PATCH] ci: limit the ccache size to 3GB --- utils/tests/gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/tests/gitlab-ci.yml b/utils/tests/gitlab-ci.yml index f6bf1d072d..eadc1d38a5 100644 --- a/utils/tests/gitlab-ci.yml +++ b/utils/tests/gitlab-ci.yml @@ -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