[gcr/gi-docsgen] ci: Only build documentation when required



commit 4b37fbab6bbd1785cde630df7a992dcd166434b7
Author: Corentin Noël <corentin noel collabora com>
Date:   Tue Nov 2 15:02:04 2021 +0100

    ci: Only build documentation when required
    
    We only need the documentation in the coverage build.

 .gitlab-ci.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a7da4f9..add9e11 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ stages:
   - deploy
 
 variables:
-  DEPENDENCIES: dbus-daemon diffutils gcc gi-docgen libsecret-devel meson ninja-build openssh 
openssh-clients python redhat-rpm-config systemd-devel
+  DEPENDENCIES: dbus-daemon diffutils gcc libsecret-devel meson ninja-build openssh openssh-clients python 
redhat-rpm-config systemd-devel
 
 fedora:Werror:
   image: fedora:latest
@@ -13,7 +13,7 @@ fedora:Werror:
     - dnf install -y 'dnf-command(builddep)' $DEPENDENCIES
     - dnf builddep -y gcr
   script:
-    - meson _build -Dwerror=true -Dc_args=-Wno-error=deprecated-declarations
+    - meson _build -Dwerror=true -Dc_args=-Wno-error=deprecated-declarations -Dgtk_doc=false
     - meson compile -C _build
     - dbus-run-session -- meson test -C _build
   artifacts:
@@ -35,7 +35,7 @@ fedora:asan:
     - dnf install -y 'dnf-command(builddep)' $DEPENDENCIES libasan
     - dnf builddep -y gcr
   script:
-    - meson _build -Dsanitize=address
+    - meson _build -Dsanitize=address -Dgtk_doc=false
     - dbus-run-session -- meson test -C _build
   artifacts:
     name: "gcr-asan-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
@@ -52,7 +52,7 @@ fedora:ubsan:
     - dnf install -y 'dnf-command(builddep)' $DEPENDENCIES libubsan
     - dnf builddep -y gcr
   script:
-    - meson _build -Dsanitize=undefined
+    - meson _build -Dsanitize=undefined -Dgtk_doc=false
     - dbus-run-session -- meson test -C _build
   artifacts:
     name: "gcr-ubsan-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
@@ -66,7 +66,7 @@ fedora:coverage:
   stage: build
   before_script:
     - dnf upgrade -y
-    - dnf install -y 'dnf-command(builddep)' $DEPENDENCIES lcov
+    - dnf install -y 'dnf-command(builddep)' $DEPENDENCIES lcov git gi-docgen
     - dnf builddep -y gcr
   script:
     - meson _build -Db_coverage=true


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]