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:
parent
057610e982
commit
66668676fc
1 changed files with 8 additions and 2 deletions
|
@ -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 =="
|
||||
|
|
Loading…
Add table
Reference in a new issue