[gnome-shell/zbrown/docgen: 74/74] ci: Build docs in CI
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/zbrown/docgen: 74/74] ci: Build docs in CI
- Date: Sun, 18 Jul 2021 23:25:17 +0000 (UTC)
commit 460b3a91f3d669f2b63604091081e85d179f465e
Author: Zander Brown <zbrown gnome org>
Date: Mon Jun 7 01:10:28 2021 +0100
ci: Build docs in CI
.gitlab-ci.yml | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8b84c6d345..d8382db36a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ stages:
- build
- test
- analyze
+ - docs
- deploy
default:
@@ -184,7 +185,7 @@ build:
- meson mutter mutter/build --prefix=/usr
- ninja -C mutter/build install
script:
- - meson . build -Dbuildtype=debugoptimized -Dman=false --werror
+ - meson . build -Dbuildtype=debugoptimized -Dman=false -Dgtk_doc=true --werror
- ninja -C build
- ninja -C build install
artifacts:
@@ -249,3 +250,26 @@ nightly:
extends: '.publish_nightly'
variables:
BUNDLES: '$BUNDLE'
+
+reference:
+ stage: docs
+ needs: ["build"]
+ script:
+ - ninja -C build docs/st docs/shell
+ - mkdir -p reference/
+ - mv build/docs/st/ reference/
+ - mv build/docs/shell/ reference/
+ artifacts:
+ paths:
+ - reference
+
+pages:
+ stage: deploy
+ needs: ['reference']
+ script:
+ - mv reference/ public/
+ artifacts:
+ paths:
+ - public
+ only:
+ - master
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]