[tracker/sam/ci-docs] ci: Build documentation when testing
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/ci-docs] ci: Build documentation when testing
- Date: Tue, 22 Jun 2021 11:31:08 +0000 (UTC)
commit 22e2fb2d1b15fed8f1c2a3dd178fd3fd691095cc
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Wed May 26 17:39:05 2021 +0200
ci: Build documentation when testing
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
.gitlab-ci.yml | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2cb98c926..69d758176 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
+ - |
+ [[ -z "$NO_DOCS" ]] && ninja -C build libtracker-sparql-3-doc ontology-3-doc
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: 1
<<: *build
.test-template: &test
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]