PolicyKit: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 10 06:04:26 UTC 2022


 .gitlab-ci.yml |   29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

New commits:
commit 4e937fde95dc975a756becc426e6e46ae322a3d3
Author: Jan Rybar <jrybar at redhat.com>
Date:   Sat Oct 1 17:31:53 2022 +0200

    polkit Documentation as Gitlab Pages added in CI jobs

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


More information about the hal-commit mailing list