From 5fe72229ec619bd61a880c415c75dff4d53e0cbf Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 6 Sep 2022 12:34:49 -0500 Subject: 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: --- .gitlab-ci.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to '.gitlab-ci.yml') 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: -- cgit v1.2.1