From 1aa5e5cc52bb5bc18c204a7043cfdf906bba9275 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Fri, 9 Oct 2020 13:32:28 +0000 Subject: [PATCH] Increase CCache size for Debian where needed --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0855633af..fb4263ee2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ stages: script: - export CCACHE_BASEDIR="`pwd`" - export CCACHE_DIR="`pwd`/ccache" && mkdir -pv "$CCACHE_DIR" - - ccache -z -M 1G + - ccache -z -M "${CCACHE_SIZE}" - CI/before_script.linux.sh - cd build - cmake --build . -- -j $(nproc) @@ -36,6 +36,7 @@ Debian_GCC: variables: CC: gcc CXX: g++ + CCACHE_SIZE: 3G Debian_GCC_tests: extends: .Debian @@ -44,6 +45,7 @@ Debian_GCC_tests: variables: CC: gcc CXX: g++ + CCACHE_SIZE: 1G BUILD_TESTS_ONLY: 1 Debian_Clang: @@ -53,6 +55,7 @@ Debian_Clang: variables: CC: clang CXX: clang++ + CCACHE_SIZE: 2G Debian_Clang_tests: extends: .Debian @@ -61,6 +64,7 @@ Debian_Clang_tests: variables: CC: clang CXX: clang++ + CCACHE_SIZE: 1G BUILD_TESTS_ONLY: 1 MacOS: