summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorClaudio André <claudioandre.br@gmail.com>2018-05-12 09:24:59 -0300
committerClaudio André <claudioandre.br@gmail.com>2018-05-13 17:03:26 -0300
commit66668676fcb2cd95422b6da734e7b96b5e36ce3a (patch)
treefbc53f321120f278bc8bb83506eb99e0200a83ca /.gitlab-ci.yml
parent057610e982adf07a14a9ff96c9730acc2db4bd6e (diff)
downloadgnome-control-center-66668676fcb2cd95422b6da734e7b96b5e36ce3a.tar.gz
CI: pass build artifacts to another stage
Avoid to redo some tasks (save git untracked files e use them). See #46.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files 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 =="