[librsvg/librsvg-2.42: 6/17] gitlab-ci: Create .cargo_cache if it does not exist.
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.42: 6/17] gitlab-ci: Create .cargo_cache if it does not exist.
- Date: Fri, 2 Mar 2018 20:33:45 +0000 (UTC)
commit 2f441e2a7ca093cfbfd04baecb7419b273895a90
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Fri Mar 2 12:03:34 2018 +0200
gitlab-ci: Create .cargo_cache if it does not exist.
.gitlab-ci.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3f39dd30..b021565f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,13 +22,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 --enable-gtk-doc --enable-vala
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]