[pangomm] CI: Use artifacts to transfer data between stages
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm] CI: Use artifacts to transfer data between stages
- Date: Wed, 16 Mar 2022 16:13:56 +0000 (UTC)
commit 6cdc945d4732f6b464b9af6719cce1d62c0e5b32
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Wed Mar 16 17:12:11 2022 +0100
CI: Use artifacts to transfer data between stages
.gitlab-ci.yml | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 262b9da..e3e9a95 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -85,6 +85,15 @@ build_deps:
- glibmm/
- cairomm/
policy: pull-push
+ # Transfer the built dependencies to later stages as artifacts.
+ # The cache does not always work.
+ # https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/775
+ artifacts:
+ paths:
+ - libsigc/
+ - glibmm/
+ - cairomm/
+ expire_in: 1 day
release_gcc_build:
extends: .build_default
@@ -104,13 +113,6 @@ release_gcc_build:
# Don't test subprojects.
- 'meson test --suite pangomm:'
- meson install
- cache:
- key: build-deps
- paths:
- - libsigc/
- - glibmm/
- - cairomm/
- policy: pull
artifacts:
when: always
paths:
@@ -133,13 +135,6 @@ release_clang_build:
- 'meson test --suite pangomm:'
- meson install
allow_failure: true
- cache:
- key: build-deps
- paths:
- - libsigc/
- - glibmm/
- - cairomm/
- policy: pull
artifacts:
when: on_failure
paths:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]