[gcr/tintou/ci] ci: Fix documentation artifact
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr/tintou/ci] ci: Fix documentation artifact
- Date: Sun, 14 Nov 2021 20:48:52 +0000 (UTC)
commit d49ae835b6e2043517896c6324a44ac20292d363
Author: Corentin Noël <corentin elementary io>
Date: Sun Nov 14 20:48:03 2021 +0100
ci: Fix documentation artifact
Include both coverage and docs in the build artifacts.
.gitlab-ci.yml | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92e98d1..f4a1d07 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,7 @@ fedora:Werror:
artifacts:
reports:
junit: "_build/meson-logs/testlog.junit.xml"
- name: "gcr-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+ name: "gcr-werror-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
when: always
paths:
- "_build/config.h"
@@ -73,20 +73,14 @@ fedora:coverage:
- dbus-run-session -- meson test -C _build
- ninja coverage-html -C _build
coverage: '/^\s+lines.+:\s+([\d.]+\%)\s+/'
- artifacts:
- name: "gcr-docs-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
- paths:
- - _build/docs/
- artifacts:
- name: "gcr-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
- paths:
- - _build/meson-logs/coveragereport/
artifacts:
name: "gcr-coverage-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
when: always
paths:
- "_build/config.h"
- "_build/meson-logs"
+ - "_build/docs/"
+ - "_build/meson-logs/coveragereport/"
pages:
stage: deploy
@@ -95,7 +89,7 @@ pages:
needs: ['fedora:coverage']
script:
- mv _build/meson-logs/coveragereport public/coverage
- - mv _build/meson-logs/coveragereport public/
+ - mv _build/docs public/
artifacts:
when: on_success
paths:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]