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



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

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

 .gitlab-ci.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 23aea0f22b..ed509b0767 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,6 +263,12 @@ 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"


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