[retro-gtk/build-doc: 11/11] ci: Build and publish the reference manual
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/build-doc: 11/11] ci: Build and publish the reference manual
- Date: Fri, 17 Apr 2020 13:51:42 +0000 (UTC)
commit 71f006de67a101d4237324c22d3dbf369e3f9955
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun Apr 12 21:32:04 2020 +0200
ci: Build and publish the reference manual
.gitlab-ci.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d345391..ccafeed 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,7 @@ stages:
- build
- test
- review
+ - publish
api-visibility:
stage: lint
@@ -66,6 +67,19 @@ flatpak:demo:
- _build/meson-logs/meson-log.txt
expire_in: 2 days
+reference:
+ image: registry.gitlab.gnome.org/gnome/gtk/fedora:v16
+ stage: build
+ variables:
+ MESON_ARGS: "--buildtype=release --libdir=lib -Dpulseaudio=disabled -Dintrospection=false
-Dbuild-tests=false -Dbuild-doc=true"
+ script:
+ - meson ${MESON_ARGS} _build
+ - ninja -C _build retro-gtk-doc
+ - mv _build/doc/html/ _reference/
+ artifacts:
+ paths:
+ - _reference
+
review:
stage: review
dependencies:
@@ -98,3 +112,15 @@ stop_review:
- master@GNOME/retro-gtk
- gnome-3-.*
- tags
+
+pages:
+ stage: publish
+ dependencies:
+ - reference
+ script:
+ - mv _reference/ public/
+ artifacts:
+ paths:
+ - public
+ only:
+ - master
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]