[librsvg: 8/10] CI: Don't rebuild while generating reference documentation




commit 5fe72229ec619bd61a880c415c75dff4d53e0cbf
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Sep 6 12:34:49 2022 -0500

    CI: Don't rebuild while generating reference documentation
    
    The job for the rust-stable build already generates the docs; just
    pick them up from there.
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/741>

 .gitlab-ci.yml | 19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa7d1ac36..1ce8d3b98 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,10 +87,10 @@ cargo_test:
     - make
     - make check
   artifacts:
-    when: 'on_failure'
+    when: 'always'
     paths:
+      - _build/doc/
       - _build/tests/*.log
-      - _build/tests/output
     expire_in: 1 day
 
 build-rsvg-opensuse@x86_64.stable:
@@ -393,22 +393,11 @@ distcheck:
     expire_in: 1 week
 
 reference:
-  extends:
-    - '.container.opensuse@x86_64.stable'
-    - '.fdo.distribution-image@opensuse'
-    - '.cache'
   stage: docs
   needs:
-    - job: opensuse-container@x86_64.stable
-      artifacts: false
-    - job: check
-      artifacts: false
+    - job: build-rsvg-opensuse@x86_64.stable
+      artifacts: true
   script:
-    - mkdir -p _build
-    - cd _build
-    - ../autogen.sh --enable-vala
-    - make
-    - cd ..
     - mkdir -p public/
     - mv _build/doc/Rsvg-2.0 public/
   artifacts:


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