summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-09-06 12:34:49 -0500
committerFederico Mena Quintero <federico@gnome.org>2022-09-08 10:31:51 -0500
commit7c4ee17ea134ec206d9a9c88e11cdc62847f4f5d (patch)
tree132d05353c4973b2a61066aad6cc6a2dfb8a1915
parent5b608d35225c8719d0be90d861121fbc17791088 (diff)
downloadlibrsvg-7c4ee17ea134ec206d9a9c88e11cdc62847f4f5d.tar.gz
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.
-rw-r--r--.gitlab-ci.yml19
1 files changed, 4 insertions, 15 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa7d1ac3..1ce8d3b9 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: