[gcr/gnome-41] ci: Fix documentation artifact
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr/gnome-41] ci: Fix documentation artifact
- Date: Tue, 28 Jun 2022 12:23:55 +0000 (UTC)
commit e3b93328c28417626a64beb51751513a684b2b90
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 | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92e98d1c..6dc614b1 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"
@@ -72,21 +72,16 @@ fedora:coverage:
- meson _build -Db_coverage=true
- dbus-run-session -- meson test -C _build
- ninja coverage-html -C _build
+ - ninja docs -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 +90,9 @@ pages:
needs: ['fedora:coverage']
script:
- mv _build/meson-logs/coveragereport public/coverage
- - mv _build/meson-logs/coveragereport public/
+ - mv _build/docs/gck/gck-1 public/gck-1
+ - mv _build/docs/gcr/gcr-3 public/gcr-3
+ - mv _build/docs/ui/gcr-ui-3 public/gcr-ui-3
artifacts:
when: on_success
paths:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]