[gnome-control-center] CI: pass build artifacts to another stage
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] CI: pass build artifacts to another stage
- Date: Sun, 13 May 2018 20:09:26 +0000 (UTC)
commit 66668676fcb2cd95422b6da734e7b96b5e36ce3a
Author: Claudio André <claudioandre br gmail com>
Date: Sat May 12 09:24:59 2018 -0300
CI: pass build artifacts to another stage
Avoid to redo some tasks (save git untracked files e use them).
See #46.
.gitlab-ci.yml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1039e0550..5508db235 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,11 @@ stages:
##
build:
stage: build
+ artifacts:
+ name: builded
+ untracked: true
+ expire_in: 3h30min
+
script:
- meson . _build
- ninja -C _build
@@ -25,9 +30,10 @@ build:
##
test:
stage: test
+ dependencies:
+ - build
+
script:
- - meson . _build
- - ninja -C _build
- |
if [[ -n "${CI_COMMIT_TAG}" ]]; then
echo "== Distro Test =="
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]