[glibmm/kjellahl/testci] CI: Set cache policy
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/kjellahl/testci] CI: Set cache policy
- Date: Sun, 22 Aug 2021 13:46:55 +0000 (UTC)
commit dec56d22646ba84f628b2e801881b4f5556d37aa
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sun Aug 22 15:46:06 2021 +0200
CI: Set cache policy
.gitlab-ci.yml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a9b5b3cc..81bedf34 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,7 +35,6 @@ build_sigc:
variables:
DEPENDENCIES: $MESON_DEPS
script:
- - ls -l libsigc
- git clone --branch 3.0.7 --depth 1 https://github.com/libsigcplusplus/libsigcplusplus libsigc
- cd libsigc
- mkdir _build && cd _build
@@ -45,6 +44,7 @@ build_sigc:
key: build-sigc
paths:
- libsigc/
+ policy: push
autotools_build:
extends: .build_default
@@ -61,6 +61,7 @@ autotools_build:
key: build-sigc
paths:
- libsigc/
+ policy: pull
allow_failure: true
debug_build:
@@ -80,6 +81,7 @@ debug_build:
key: build-sigc
paths:
- libsigc/
+ policy: pull
artifacts:
when: on_failure
paths:
@@ -104,6 +106,7 @@ release_gcc_9_build:
key: build-sigc
paths:
- libsigc/
+ policy: pull
artifacts:
when: always
paths:
@@ -127,6 +130,7 @@ release_gcc_10_build:
key: build-sigc
paths:
- libsigc/
+ policy: pull
artifacts:
when: on_failure
paths:
@@ -152,6 +156,7 @@ release_clang_build:
key: build-sigc
paths:
- libsigc/
+ policy: pull
artifacts:
when: on_failure
paths:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]