Verified Commit 00de240d authored by Jordan Petridis's avatar Jordan Petridis 🌱

gitlab-ci: Create .cargo_cache if it does not exist.

parent 5f126356
......@@ -10,13 +10,14 @@ stages:
before_script:
# CCache Config
- mkdir -p ccache
- mkdir -p .cargo_cache
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/ccache
- export CC="ccache gcc"
# Only stuff inside the repo directory can be cached
# Override the CARGO_HOME variable to force it location
- export CARGO_HOME=".cargo_cache/"
- export CARGO_HOME="${PWD}/cargo_cache"
script:
- rustc --version && cargo --version
- ./autogen.sh
......
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