Commit 6374d571 authored by Jordan Petridis's avatar Jordan Petridis 🌱

CI: fix CCACHE_* env vars values

Previously, the basedir env var didn't expand
and the final value of the config looked like
${CI_PROJECT_DIR}/_ccache/ccache.conf as opposed to
an actuall path.

When gitlab parses the yml file, `CI_PROJECT_DIR` is a known
value that can be expanded, while our custom variable for
CCACHE_DIR isn't fully expanded due to pointing to a custom and
thus ignored env var.

Set the CCACHE_DIR to "$CI_PROJECT_DIR/_ccache" instead of
CCACHE_BASEDIR to workaround this issue and have it properly expand.
parent 8dfd26a4
Pipeline #102384 passed with stages
in 3 minutes and 13 seconds
......@@ -7,7 +7,7 @@ stages:
stage: 'build'
DEPS: >-
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment