[gcr/gi-docsgen] Only build documentation when required
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr/gi-docsgen] Only build documentation when required
- Date: Tue, 2 Nov 2021 14:05:05 +0000 (UTC)
commit 3508e81be3c7ce37e903ec3e89f66031d3d017c2
Author: Corentin Noël <corentin noel collabora com>
Date: Tue Nov 2 15:02:04 2021 +0100
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 572a23e..cca0950 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ stages:
- deploy
variables:
- DEPENDENCIES: dbus-daemon diffutils gcc gtk-doc 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
- ninja -C _build
- dbus-run-session -- bash +x ./.gitlab-ci/run-tests.sh
artifacts:
@@ -36,7 +36,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}"
@@ -53,7 +53,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}"
@@ -67,7 +67,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
- dnf builddep -y gcr
script:
- meson _build -Db_coverage=true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]