ccache together with precompiled headers.

This commit is contained in:
Roman Telezhynskyi 2023-02-16 22:29:45 +02:00
parent fe8f126424
commit e3a8cef544

View File

@ -25,6 +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,include_file_mtime,include_file_ctime
- echo $PATH
- which qmake6
- which qbs
@ -39,6 +40,7 @@ linux_qt6_task_template: &LINUX_QT6_TASK_TEMPLATE
- qbs-config defaultProfile qt6
- qbs build -f valentina.qbs -d build --command-echo-mode command-line profile:qt6 config:release
- qbs -p autotest-runner -d build profile:qt6 config:release
- ccache -s
linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
install_script:
@ -57,6 +59,7 @@ linux_qt5_qmake_task_template: &LINUX_QT5_QMAKE_TASK_TEMPLATE
- make -j$(nproc)
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$CIRRUS_WORKING_DIR/build/src/libs/vpropertyexplorer/bin:$CIRRUS_WORKING_DIR/build/src/libs/qmuparser/bin"
- xvfb-run -a make --silent check TESTARGS="-silent"
- ccache -s
linux_qt5_qbs_task_template: &LINUX_QT5_QBS_TASK_TEMPLATE
install_script:
@ -66,6 +69,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,include_file_mtime,include_file_ctime
- echo $PATH
- which qmake
- which qbs
@ -80,6 +84,7 @@ linux_qt5_qbs_task_template: &LINUX_QT5_QBS_TASK_TEMPLATE
- qbs config profiles.qt5.baseProfile ${COMPILER}
- qbs build -f valentina.qbs -d build --command-echo-mode command-line profile:qt5 config:release
- qbs -p autotest-runner -d build profile:qt5 config:release
- ccache -s
#macos_task_template: &MACOS_TASK_TEMPLATE
# << : *REGULER_TASK_TEMPLATE