[librsvg: 4/5] ci: Adjust cache policy for build that runs 'make check'




commit 843dc7901a3b6d1377061ec0c75850f2a87cc77b
Author: Sven Neumann <sven svenfoo org>
Date:   Thu Oct 29 10:09:31 2020 +0100

    ci: Adjust cache policy for build that runs 'make check'
    
    'make check' compiles and runs some tests that have not been run
    in other builds, so it downloads some extra crates that should be
    cached. Thus upload the cache from the "acceptance test" build.

 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9c96808d..1ab994ef 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -125,7 +125,10 @@ cargo_test:
 
 opensuse:tumbleweed:
   stage: acceptance test
-  extends: .make
+  extends:
+    - .make
+    # make check runs extra tests that require extra crates, hence recreate cache
+    - .recreate_cache
   rules:
     - if: '$CI_PIPELINE_SOURCE == "push"'
     - if: '$CI_PIPELINE_SOURCE == "schedule"'


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