Limit ccache size.

This commit is contained in:
Roman Telezhynskyi 2023-09-13 14:27:32 +03:00
parent c3c2fb3d6f
commit 626b0d4bc8

View File

@ -25,7 +25,7 @@ linux_qt6_task_template: &LINUX_QT6_TASK_TEMPLATE
- mkdir -pm 0700 $XDG_RUNTIME_DIR - mkdir -pm 0700 $XDG_RUNTIME_DIR
- Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix & - Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix &
- sleep 1 - sleep 1
- ccache --set-config=sloppiness=pch_defines,time_macros - ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE"
- echo $PATH - echo $PATH
- which qmake6 - which qmake6
- which qbs - which qbs
@ -54,6 +54,7 @@ linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
- pwd - pwd
- ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}" - ls -l /usr/bin/ | grep -E "${COMPILER_REGEX}"
- ${COMPILER} --version - ${COMPILER} --version
- ccache --set-config max_size="$CCACHE_SIZE"
- qmake --version - qmake --version
- qmake ../Valentina.pro -r -spec ${QMAKE_SPEC} CONFIG+=noDebugSymbols CONFIG+=checkWarnings - qmake ../Valentina.pro -r -spec ${QMAKE_SPEC} CONFIG+=noDebugSymbols CONFIG+=checkWarnings
- make -j$(nproc) - make -j$(nproc)
@ -69,7 +70,7 @@ linux_qt5_qbs_task_template: &LINUX_QT5_QBS_TASK_TEMPLATE
- mkdir -pm 0700 $XDG_RUNTIME_DIR - mkdir -pm 0700 $XDG_RUNTIME_DIR
- Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix & - Xvfb $DISPLAY -ac -screen 0 1600x1200x24+32 -nolisten tcp -nolisten unix &
- sleep 1 - sleep 1
- ccache --set-config=sloppiness=pch_defines,time_macros - ccache --set-config sloppiness=pch_defines,time_macros max_size="$CCACHE_SIZE"
- echo $PATH - echo $PATH
- which qmake - which qmake
- which qbs - which qbs
@ -233,7 +234,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- chmod -R 755 /opt/homebrew/opt/openssl@1.1/* - chmod -R 755 /opt/homebrew/opt/openssl@1.1/*
- python3 --version - python3 --version
- pip3 install --user --upgrade pip dropbox conan==1.60 - 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 - conan --version
- qmake --version - qmake --version
- which qmake - which qmake