[geocode-glib/bilelmoussaoui/gi-docgen: 1/2] CI: build & deploy the docs
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib/bilelmoussaoui/gi-docgen: 1/2] CI: build & deploy the docs
- Date: Fri, 14 Jan 2022 12:59:52 +0000 (UTC)
commit d34b8e573219ce934d68c41ceb044e796b3f2c5d
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Fri Jan 14 13:34:25 2022 +0100
CI: build & deploy the docs
.gitlab-ci.yml | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b29b36d..2cbbeb4 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,29 @@ 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'
+ before_script:
+ - dnf install -y $COMMON_DEPS $SOUP2_DEPS gi-docgen gobject-introspection-devel
+ script:
+ - mkdir -p docs_build/
+ - meson --buildtype=release --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]