Skip to content

Commit

Permalink
ci: limit the ccache size to 3GB
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyPec committed Sep 8, 2024
1 parent 498a832 commit 9d80dbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/tests/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d80dbb

Please sign in to comment.