diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2021-05-26 17:39:05 +0200 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2021-06-28 10:46:42 +0200 |
commit | 8fa8fbfe82c42ebf7c097ec8c564daf1da991bf5 (patch) | |
tree | 8e48c2b52f99795b3f54fdc6e071bd88eb85aa96 | |
parent | cfe6552a1b7e53210c8c52b0f9f6857bb40f9e2a (diff) | |
download | tracker-sam/ci-docs.tar.gz |
ci: Build documentation when testingsam/ci-docs
Fixes https://gitlab.gnome.org/GNOME/tracker/-/issues/310
We avoid building the docs on Alpine Linux as that doesn't work,
probably due to missing dependencies. See an example in:
https://gitlab.gnome.org/GNOME/tracker/-/jobs/1322163
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2cb98c926..3813e3e37 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -177,6 +177,8 @@ build-alpine-container@x86_64: script: - meson . build -Db_lto=true -Db_coverage=true -Dsystemd_user_services=false -Dtests_tap_protocol=true --prefix /usr - ninja -C build + - | + if [ -z "$NO_DOCS" ]; then ninja -C build libtracker-sparql-3-doc ontology-3-doc; fi artifacts: expire_in: 1 day paths: @@ -221,6 +223,8 @@ build-alpine-edge@x86_64: - .tracker.alpine:edge@x86_64 needs: - build-alpine-container@x86_64 + variables: + NO_DOCS: "true" <<: *build .test-template: &test |