ci: properly quote ccache dir and path

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31940>
This commit is contained in:
Eric Engestrom
2024-10-29 18:58:58 +01:00
committed by Marge Bot
parent 766617e8da
commit 7a89e7afe3

View File

@@ -13,8 +13,8 @@ if test -x /usr/bin/ccache; then
export CCACHE_COMPILERCHECK=content
export CCACHE_COMPRESS=true
export CCACHE_DIR=/cache/$CI_PROJECT_NAME/ccache
export PATH=$CCACHE_PATH:$PATH
export CCACHE_DIR="/cache/$CI_PROJECT_NAME/ccache"
export PATH="$CCACHE_PATH:$PATH"
# CMake ignores $PATH, so we have to force CC/GCC to the ccache versions.
export CC="${CCACHE_PATH}/gcc"