summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2018-09-15 12:14:02 +0000
committerEduard Braun <eduard.braun2@gmx.de>2018-09-15 12:14:02 +0000
commit515fc423ff1f699efbd9f34542327d29e99f77f1 (patch)
tree3c49d8a412890019ddfcbf775934c40db79b37ac
parentCI: Fix source-doc not being created (diff)
downloadinkscape-515fc423ff1f699efbd9f34542327d29e99f77f1.tar.gz
inkscape-515fc423ff1f699efbd9f34542327d29e99f77f1.zip
CI: Use separate caches for Linux/Mac build and disable for other jobs
-rw-r--r--.gitlab-ci.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8ca738660..195b402c0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,15 +7,16 @@ variables:
GIT_DEPTH: "10"
GIT_SUBMODULE_STRATEGY: recursive
-cache:
- paths:
- - ccache/
# Building inkscape
inkscape:linux:
stage: build
except:
- schedules
+ cache:
+ key: "cache-linux"
+ paths:
+ - ccache/
before_script:
# CCache Config
- mkdir -p ccache
@@ -43,6 +44,10 @@ inkscape:mac:
- branches@inkscape/inkscape
except:
- schedules
+ cache:
+ key: "cache-mac"
+ paths:
+ - ccache/
before_script:
- brew update
- brew upgrade