diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-09-06 12:34:49 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-09-06 13:55:20 -0500 |
commit | 5fe72229ec619bd61a880c415c75dff4d53e0cbf (patch) | |
tree | 91cd53735106c83b1c8dce62bfcb0f2ad1e11352 /.gitlab-ci.yml | |
parent | ebf7e3dea79eaef4d65afd8502371e5f0231c6db (diff) | |
download | librsvg-5fe72229ec619bd61a880c415c75dff4d53e0cbf.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.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/741>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 19 |
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: |