summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-07-18 12:15:43 +0200
committerLubomir Rintel <lkundrak@v3.sk>2018-07-23 12:36:37 +0200
commit2c58f210a28c7dd38e34aa841e9f402adb93f7f9 (patch)
treeb19b5e85ffcebacb85a11061de38d955ed923cda
parent068a9dbb50f2605185a26db363285c67f846ceae (diff)
downloadnetwork-manager-applet-lr/gitlab-docs.tar.gz
gitlab: build libnma site documentationlr/gitlab-docs
-rw-r--r--.gitlab-ci.yml29
-rw-r--r--libnma-docs.xml2
2 files changed, 29 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9594cddd..f2eb6f7f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -48,7 +48,6 @@
libselinux-devel
.dist: &dist
- stage: test
dependencies:
- fedora28_dist
variables:
@@ -173,15 +172,43 @@ fedora28_dist:
fedora_meson_minimal:
<<: *fedora_meson_minimal
image: fedora:latest
+ stage: test
fedora_meson_full:
<<: *fedora_meson_full
image: fedora:latest
+ stage: test
fedora_autotools_minimal:
<<: *fedora_autotools_minimal
image: fedora:latest
+ stage: test
fedora_autotools_full:
<<: *fedora_autotools_full
image: fedora:latest
+ stage: test
+
+# https://network-manager-applet.pages.gitlab.gnome.org/libnma/
+pages:
+ <<: *fedora_full
+ <<: *dist
+ image: fedora:latest
+ stage: deploy
+ script:
+ - dnf -y install make
+ - tar xJf network-manager-applet-*.tar.xz
+ - cd network-manager-applet-*/
+ - ./configure
+ --disable-silent-rules
+ --without-libnm-gtk
+ --enable-gtk-doc
+ - make -j
+ - cd ..
+ - mkdir -p public
+ - mv network-manager-applet-*/html public/libnma
+ artifacts:
+ paths:
+ - public
+ only:
+ - master
diff --git a/libnma-docs.xml b/libnma-docs.xml
index ed264335..6b4a8403 100644
--- a/libnma-docs.xml
+++ b/libnma-docs.xml
@@ -12,7 +12,7 @@
<releaseinfo>
for libnma &package_version;.
The latest version of this documentation can be found on-line at
- <ulink role="online-location" url="https://developer.gnome.org/libnma/index.html">https://developer.gnome.org/libnma/</ulink>.
+ <ulink role="online-location" url="https://network-manager-applet.pages.gitlab.gnome.org/libnma/">https://network-manager-applet.pages.gitlab.gnome.org/libnma/</ulink>.
</releaseinfo>
<copyright>