From 4e937fde95dc975a756becc426e6e46ae322a3d3 Mon Sep 17 00:00:00 2001 From: Jan Rybar Date: Sat, 1 Oct 2022 17:31:53 +0200 Subject: polkit Documentation as Gitlab Pages added in CI jobs --- .gitlab-ci.yml | 29 ++++++++++++++++++++++++----- 1 file 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 -- cgit v1.2.1