[librsvg: 4/9] Make the tarball stage depend on the build stage's artifacts



commit bafddceffc39c115ed118a0cc25b514d50889920
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Sep 3 10:08:04 2019 -0500

    Make the tarball stage depend on the build stage's artifacts

 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a327cd96..fcc26111 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,6 +52,10 @@ stages:
       - _build/tests/*.log
       - _build/tests/output/
 
+  artifacts:
+    paths:
+      - _build
+
   cache:
     # JOB_NAME - Each job will have it's own cache
     # COMMIT_REF_SLUG = Lowercase name of the branch
@@ -148,9 +152,12 @@ clippy:
 tarball:
   image: $AMD64_OPENSUSE_TUMBLEWEED
   stage: lint
+  dependencies:
+    - opensuse:tumbleweed
   variables:
     LIBRSVG_DEBUG: "yes"
   script:
+    - cd _build
     - make distcheck DESTDIR=/tmp/distcheck
 
 # STAGE 3 CROSS DISTRO TESTS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]