From 626b0d4bc876456d54dae973b08aecf40988541a Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 13 Sep 2023 14:27:32 +0300 Subject: [PATCH] Limit ccache size. --- .cirrus.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index c6916ad5c..7ded0b316 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -25,7 +25,7 @@ linux_qt6_task_template: &LINUX_QT6_TASK_TEMPLATE - mkdir -pm 0700 $XDG_RUNTIME_DIR - Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix & - sleep 1 - - ccache --set-config=sloppiness=pch_defines,time_macros + - ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE" - echo $PATH - which qmake6 - which qbs @@ -54,6 +54,7 @@ linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE - pwd - ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}" - ${COMPILER} --version + - ccache --set-config max_size="$CCACHE_SIZE" - qmake --version - qmake ../Valentina.pro -r -spec ${QMAKE_SPEC} CONFIG+=noDebugSymbols CONFIG+=checkWarnings - make -j$(nproc) @@ -69,7 +70,7 @@ linux_qt5_qbs_task_template: &LINUX_QT5_QBS_TASK_TEMPLATE - mkdir -pm 0700 $XDG_RUNTIME_DIR - Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix & - sleep 1 - - ccache --set-config=sloppiness=pch_defines,time_macros + - ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE" - echo $PATH - which qmake - which qbs @@ -233,7 +234,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE - chmod -R 755 /opt/homebrew/opt/openssl@1.1/* - python3 --version - pip3 install --user --upgrade pip dropbox conan==1.60 - - ccache --set-config=sloppiness=pch_defines,time_macros + - ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE" - conan --version - qmake --version - which qmake