[gimp/wip/Jehan/more-CI-build] gitlab-ci: fix crossroad caching.



commit 41f2e79931f623abccc1f9f87de57b1566dffdcb
Author: Jehan <jehan girinstud io>
Date:   Tue Oct 1 13:44:42 2019 +0200

    gitlab-ci: fix crossroad caching.
    
    This should hopefully speed up successive builds as most packages don't
    need to be re-downloaded.

 .gitlab-ci.yml | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 23aea0f22b..6b6888c3bf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,8 +13,6 @@ variables:
 cache:
   paths:
   - _pacman_cache
-  - dnf_cache
-  - .cache/crossroad/
 
 .babl-base:
   stage: babl
@@ -265,9 +263,16 @@ build-git-meson:
 
 build-git-x86_64-w64-mingw32-meson:
   extends: .gimp-x86_64-w64-mingw32-base
+  variables:
+    XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache/"
+  cache:
+    paths:
+    - .cache/crossroad/
+    - dnf_cache
   script:
     - export SHELL
     - crossroad w64 gimp --run="build/windows/crossbuild-gitlab-ci.sh"
+    - ls .cache/crossroad
   artifacts:
     name: "app-tests-logs-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
     when: on_failure


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]