CI: pass build artifacts to another stage

Avoid to redo some tasks (save git untracked files e use them).

See #46.
This commit is contained in:
Claudio André 2018-05-12 09:24:59 -03:00
parent 057610e982
commit 66668676fc

View file

@ -12,6 +12,11 @@ stages:
## ##
build: build:
stage: build stage: build
artifacts:
name: builded
untracked: true
expire_in: 3h30min
script: script:
- meson . _build - meson . _build
- ninja -C _build - ninja -C _build
@ -25,9 +30,10 @@ build:
## ##
test: test:
stage: test stage: test
dependencies:
- build
script: script:
- meson . _build
- ninja -C _build
- | - |
if [[ -n "${CI_COMMIT_TAG}" ]]; then if [[ -n "${CI_COMMIT_TAG}" ]]; then
echo "== Distro Test ==" echo "== Distro Test =="