[tracker-miners/sam/auto-features] build: Enable all 'auto' features in CI
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/auto-features] build: Enable all 'auto' features in CI
- Date: Thu, 1 Sep 2022 10:04:57 +0000 (UTC)
commit 88160b71b6fac67043d6c523b6bdc564a3262680
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Thu Sep 1 12:00:56 2022 +0200
build: Enable all 'auto' features in CI
We provide some 'auto' features as a developer convenience, but in CI
we should ensure all possible features are enabled to ensure full test
coverage.
.gitlab-ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b5ab5ebdf..695b86bc4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -186,7 +186,7 @@ check-code-style:
- echo "Building tracker.git commit $(git -C ./subprojects/tracker rev-parse HEAD)"
- mkdir build
- cd build
- - meson .. --prefix=/usr -Dtracker_core=subproject -Db_lto=true -Db_coverage=true
-Dtests_tap_protocol=true -Dtracker:docs=false
+ - meson .. --prefix=/usr -Dtracker_core=subproject -Db_lto=true -Db_coverage=true
-Dtests_tap_protocol=true -Dtracker:docs=false --auto-features=enabled
- ninja
artifacts:
expire_in: 1 day
@@ -308,7 +308,7 @@ coverage-analysis:
- .gitlab-ci/checkout-tracker.sh
- mkdir -p coverage-build/coveragereport
- cd coverage-build
- - meson .. --prefix=/usr -Dtracker_core=subproject -Db_lto=true -Db_coverage=true -Dseccomp=false
-Dtracker:docs=false
+ - meson .. --prefix=/usr -Dtracker_core=subproject -Db_lto=true -Db_coverage=true -Dseccomp=false
-Dtracker:docs=false --auto-features=enabled
- ninja
- env LANG=C.UTF-8 LC_ALL=C.UTF-8 dbus-run-session eatmydata meson test --print-errorlogs
${MESON_TEST_EXTRA_ARGS}
- gcovr --html-details --print-summary --root=.. --exclude=subprojects --exclude=../subprojects
--exclude=../tests --output coveragereport/index.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]