[poppler] .gitlab-ci.yml

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Mar 19 22:00:17 UTC 2019


 .gitlab-ci.yml |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

New commits:
commit 20424e7b6a8b6505db1f6fea8318e9f089a8384c
Author: Adam Reichold <adam.reichold at t-online.de>
Date:   Sat Feb 9 10:11:24 2019 +0100

    Publish Qt5 frontend API documentation as GitLab artifacts and trigger publish via GitLab pages.

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a1d49917..0cbc34ee 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,10 @@
 image: debian:unstable
 
+stages:
+  - build
+  - document
+  - publish
+
 before_script:
   - echo 'deb-src http://deb.debian.org/debian unstable main' >> /etc/apt/sources.list
   - apt-get update
@@ -12,6 +17,7 @@ variables:
   LANG: en_US.UTF-8
   LANGUAGE: en_US:en
   LC_ALL: en_US.UTF-8
+  DEBIAN_FRONTEND: noninteractive
   TEST_DATA_URL: https://gitlab.freedesktop.org/${CI_PROJECT_NAMESPACE}/test.git
   UPSTREAM_TEST_DATA_URL: https://gitlab.freedesktop.org/poppler/test.git
 
@@ -104,3 +110,30 @@ build_android:
                          -DENABLE_LIBOPENJPEG=unmaintained
                          -DENABLE_CPP=OFF'
     - ninja && ninja install
+
+qt5_docs:
+  only:
+    - master
+  stage: document
+  variables:
+    QT_SELECT: qt5
+  script:
+    - apt-get install --yes --no-install-recommends doxygen graphviz qtchooser qttools5-dev-tools
+    - cd qt5/src
+    - doxygen
+  cache: {}
+  artifacts:
+    paths:
+      - qt5/src/APIDOCS-html
+
+trigger_pages:
+  only:
+    - master
+  stage: publish
+  image: alpine:latest
+  before_script:
+    - apk --update upgrade
+    - apk add curl ca-certificates
+  script:
+    - 'curl --request POST --form "token=$WEB_PAGE_TRIGGER" --form ref=master https://gitlab.freedesktop.org/api/v4/projects/poppler%2Fpoppler-web-page/trigger/pipeline'
+  cache: {}


More information about the poppler mailing list