[librsvg: 4/5] ci: Adjust cache policy for build that runs 'make check'
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 4/5] ci: Adjust cache policy for build that runs 'make check'
- Date: Thu, 29 Oct 2020 10:30:26 +0000 (UTC)
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]