summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml29
1 files changed, 24 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2bcb923..06c25b3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,13 +24,15 @@ variables:
git
dbus-devel
-build_stable:
- before_script:
- - dnf upgrade -y --nogpgcheck fedora-release fedora-repos*
- - dnf update -y && dnf install -y $DEPENDENCIES
+before_script:
+ - dnf upgrade -y --nogpgcheck fedora-release fedora-repos*
+ - dnf update -y && dnf install -y $DEPENDENCIES
+
+build_stable:
+ stage: test
script:
- - meson setup
+ - meson setup
-D authfw=pam
-D examples=true
-D gtk_doc=true
@@ -49,3 +51,20 @@ build_stable:
when: 'always'
paths:
- 'builddir/meson-logs/*.txt'
+
+
+pages:
+ stage: deploy
+ script:
+ - meson setup
+ -D gtk_doc=true
+ -D man=true
+ builddir
+ - meson compile -C builddir polkit-1-doc:custom
+ - rm -rf public && mkdir public
+ - cp -r builddir/docs/polkit/html/* public
+ artifacts:
+ paths:
+ - public
+ rules:
+ - if: $CI_COMMIT_TAG