Configure CCACHE launcher for Debian amd64 CI

Let's not rely on the CMakeLists.txt to automatically detect and
use ccache. It's better to just explicitly specify it.
This commit is contained in:
Eidolon 2024-05-16 15:42:04 -05:00
parent bab86f0842
commit 939b42c8e3

View file

@ -39,7 +39,13 @@ Debian stable:amd64:
- - | - - |
# cmake # cmake
echo -e "\e[0Ksection_start:`date +%s`:cmake[collapsed=false]\r\e[0KBuilding Makefiles" echo -e "\e[0Ksection_start:`date +%s`:cmake[collapsed=false]\r\e[0KBuilding Makefiles"
- cmake -B build.cmake -DSRB2_CONFIG_ENABLE_WEBM_MOVIES=OFF -G "Unix Makefiles" - |
CCACHE=$(which ccache)
cmake -B build.cmake \
-G "Unix Makefiles" \
-DCMAKE_C_COMPILER_LAUNCHER=$CCACHE \
-DCMAKE_CXX_COMPILER_LAUNCHER=$CCACHE \
-DSRB2_CONFIG_ENABLE_WEBM_MOVIES=OFF
- | - |
# cmake # cmake
echo -e "\e[0Ksection_end:`date +%s`:cmake\r\e[0K" echo -e "\e[0Ksection_end:`date +%s`:cmake\r\e[0K"