summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZander Brown <zbrown@gnome.org>2021-06-07 01:10:28 +0100
committerZander Brown <zbrown@gnome.org>2021-07-19 02:44:06 +0100
commit18fe5f2dd510d6b466b80c2dc3511e7516193b94 (patch)
treeda628b77b84804073980b1a930a6086adb16be9f
parentd0183e566e3c4198fe7efd70780d255eb5b3167a (diff)
downloadgnome-shell-zbrown/docgen.tar.gz
ci: Build docs in CIzbrown/docgen
-rw-r--r--.gitlab-ci.yml30
1 files changed, 27 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8b84c6d34..4ab7cee24 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ stages:
- build
- test
- analyze
+ - docs
- deploy
default:
@@ -30,7 +31,7 @@ variables:
LINT_LOG: "eslint-report.xml"
LINT_MR_LOG: "eslint-mr-report.xml"
-image: registry.gitlab.gnome.org/gnome/mutter/fedora/34:x86_64-2021-07-09.1
+image: registry.gitlab.gnome.org/gnome/mutter/fedora/34:x86_64-2021-07-19.1
workflow:
rules:
@@ -49,7 +50,7 @@ workflow:
.gnome-shell.fedora:34:
variables:
FDO_DISTRIBUTION_VERSION: 34
- FDO_DISTRIBUTION_TAG: '2021-07-07.1'
+ FDO_DISTRIBUTION_TAG: '2021-07-19.1'
FDO_UPSTREAM_REPO: GNOME/gnome-shell
FDO_DISTRIBUTION_PACKAGES: >
findutils mozjs78-devel nodejs npm meson
@@ -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