diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2021-11-02 15:02:04 +0100 |
---|---|---|
committer | Corentin Noël <corentin.noel@collabora.com> | 2021-11-10 12:02:10 +0100 |
commit | 4b37fbab6bbd1785cde630df7a992dcd166434b7 (patch) | |
tree | 78f8c03c01d50c8a1b0b5d21f44650fab2ef7c87 /.gitlab-ci.yml | |
parent | 6fc2f87a5e02558d9550a533fc0266aea5a127c0 (diff) | |
download | gcr-4b37fbab6bbd1785cde630df7a992dcd166434b7.tar.gz |
ci: Only build documentation when required
We only need the documentation in the coverage build.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 10 |
1 files 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 |