From f2c0b194ad399d11081c63831814c04cc55857ea Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 16 Feb 2024 18:31:08 +0200 Subject: [PATCH] Setup ccache. --- .cirrus.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 3d66508ec..7850a6546 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -50,6 +50,7 @@ linux_qt6_sonar_task_template: &LINUX_QT6_TASK_SONAR_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 max_size="$CCACHE_SIZE" - echo $PATH - which qmake6 - which qbs @@ -73,6 +74,7 @@ linux_qt6_sonar_task_template: &LINUX_QT6_TASK_SONAR_TEMPLATE - find .. -name '*.o' | xargs gcov --preserve-paths - cd $CIRRUS_WORKING_DIR - sonar-scanner -Dsonar.scm.revision=${CIRRUS_CHANGE_IN_REPO} -Dsonar.links.ci=https://cirrus-ci.com/task/${CIRRUS_TASK_ID} -Dsonar.branch.name=${CIRRUS_BRANCH} -Dsonar.cfamily.gcov.reportsPath="${CIRRUS_WORKING_DIR}/build/coverage-dir" + - ccache -s linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE install_script: