[atkmm] CI: Use artifacts to transfer data between stages
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atkmm] CI: Use artifacts to transfer data between stages
- Date: Wed, 16 Mar 2022 15:40:47 +0000 (UTC)
commit 3291ac94a98ed42931e3d9b157a485333ce3520d
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Wed Mar 16 16:39:07 2022 +0100
CI: Use artifacts to transfer data between stages
.gitlab-ci.yml | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6924876..76bd5e9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,6 +75,14 @@ build_deps:
- libsigc/
- glibmm/
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/
+ expire_in: 1 day
release_gcc_build:
extends: .build_default
@@ -90,12 +98,6 @@ release_gcc_build:
- meson compile
- meson test
- meson install
- cache:
- key: build-deps
- paths:
- - libsigc/
- - glibmm/
- policy: pull
artifacts:
when: always
paths:
@@ -116,12 +118,6 @@ release_clang_build:
- meson test
- meson install
allow_failure: true
- cache:
- key: build-deps
- paths:
- - libsigc/
- - glibmm/
- policy: pull
artifacts:
when: on_failure
paths:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]