diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 12ebce6a..94a4e54f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,9 @@ image: samthursfield/buildstream:0.1-20170627.1 +cache: + paths: + - cache/buildstream/sources/ + before_script: # Update to latest BuildStream commit - cd ~/buildstream @@ -12,8 +16,9 @@ before_script: - export LANG="C.UTF-8" - export LC_ALL="C.UTF-8" - # Store cache in the shared Docker volume - - export XDG_CACHE_HOME=/cache + # Store cache in the project directory + - mkdir -p "$(pwd)/cache" + - export XDG_CACHE_HOME="$(pwd)/cache" stages: - build |