From 515fc423ff1f699efbd9f34542327d29e99f77f1 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sat, 15 Sep 2018 14:14:02 +0200 Subject: CI: Use separate caches for Linux/Mac build and disable for other jobs --- .gitlab-ci.yml | 11 ++++++++--- 1 file 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 -- cgit v1.2.3