[geocode-glib/bilelmoussaoui/gi-docgen: 8/8] CI: build & deploy the docs
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib/bilelmoussaoui/gi-docgen: 8/8] CI: build & deploy the docs
- Date: Fri, 14 Jan 2022 12:46:28 +0000 (UTC)
commit 33cce10d9f7f119724217cffa3bf2c04295580ef
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Fri Jan 14 13:34:25 2022 +0100
CI: build & deploy the docs
.gitlab-ci.yml | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b29b36d..824697d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,6 @@ variables:
glibc-langpack-en
glib2-devel
json-glib-devel
- gtk-doc
meson
git
gcc
@@ -71,3 +70,30 @@ build-fedora-soup3:
# To build the old version
- dnf install -y $SOUP2_DEPS
- check-abi --new-parameters="-Dsoup2=false" ${LAST_ABI_BREAK} $(git rev-parse HEAD)
+
+reference:
+ extends: .build
+ variables:
+ SOUP2_ENABLED: 'true'
+ MESON_FLAGS: "-Dwerror=true --buildtype=release"
+ before_script:
+ - dnf install -y $COMMON_DEPS $SOUP2_DEPS gi-docgen
+ script:
+ - mkdir -p docs_build/
+ - meson ${MESON_FLAGS} --prefix=${PWD}/docs_build -Denable-gtk-doc=true _build
+ - ninja -C _build install
+ - mkdir -p _reference/
+ - mv docs_build/share/doc/geocode-glib-1/ _reference/
+ artifacts:
+ paths:
+ - _reference
+
+pages:
+ 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]