[retro-gtk/build-doc] ci: Fix
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/build-doc] ci: Fix
- Date: Sun, 12 Apr 2020 07:58:03 +0000 (UTC)
commit 7adc5e2bf6ac9fd62f8a6a3d222b2a0546023f64
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun Apr 12 09:55:53 2020 +0200
ci: Fix
.gitlab-ci.yml | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a082190..74f031c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -69,7 +69,7 @@ flatpak:demo:
paths:
- .flatpak-builder/cache/
-build-doc:
+doc:
image: debian:buster
stage: doc
dependencies:
@@ -82,6 +82,20 @@ build-doc:
paths:
- _build/doc/html
+reference:
+ image: registry.gitlab.gnome.org/gnome/gtk/fedora:v16
+ stage: docs
+ variables:
+ EXTRA_MESON_FLAGS: "--buildtype=release"
+ script:
+ - meson ${COMMON_MESON_FLAGS} ${EXTRA_MESON_FLAGS} -Dbuild-doc=true _build
+ - ninja -C _build retro-gtk-doc
+ - mkdir -p _reference/
+ - mv _build/doc/html/ _reference/
+ artifacts:
+ paths:
+ - _reference
+
review:
stage: review
dependencies:
@@ -114,3 +128,13 @@ stop_review:
- master@GNOME/retro-gtk
- gnome-3-.*
- tags
+
+pages:
+ stage: deploy
+ script:
+ - mv _reference/ public/
+ artifacts:
+ paths:
+ - public
+ only:
+ - master
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]