[grilo-plugins/wip/hadess/ci-add-tracker3] ci: Build and test the new tracker 3 plugin
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins/wip/hadess/ci-add-tracker3] ci: Build and test the new tracker 3 plugin
- Date: Fri, 21 Aug 2020 19:21:09 +0000 (UTC)
commit 0163499f92c58ed8ebadd7c26af0c118c9eac8cf
Author: Bastien Nocera <hadess hadess net>
Date: Fri Aug 21 21:09:45 2020 +0200
ci: Build and test the new tracker 3 plugin
Relegate the tracker2 plugin build and testing to a separate target
which we'll remove in the future.
.gitlab-ci.yml | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dafcc5e9..73c7c7ce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,7 +10,7 @@ variables:
DEPENDENCIES: sqlite-devel libgcrypt-devel itstool lua-devel
libsoup-devel gperf libarchive-devel json-glib-devel
avahi-gobject-devel totem-pl-parser-devel rest-devel
- tracker-devel libdmapsharing-devel libmediaart-devel
+ libdmapsharing-devel libmediaart-devel
gom-devel gnome-online-accounts-devel libgdata-devel
gstreamer1-plugins-good gstreamer1-plugins-bad-free-extras
@@ -19,6 +19,12 @@ build_stable:
- dnf update -y --nogpgcheck
script:
- dnf install -y --nogpgcheck $DEPENDENCIES_GRILO $DEPENDENCIES
+ # FIXME: While tracker3 isn't in Fedora
+ - git clone https://gitlab.gnome.org/GNOME/tracker.git
+ - cd tracker
+ - meson . _build --prefix=/usr -Ddocs=false -Dman=false -Dbash_completion=false -Dtest_utils=true
+ - ninja -C _build install
+ - cd ..
# As part of configuring grilo-plugins.git for build, the latest code from
# grilo.git will be fetched by Meson and it will be built as a subproject.
- meson . _build --prefix=/usr
@@ -42,9 +48,22 @@ build_stable:
-Denable-shoutcast=yes
-Denable-thetvdb=yes
-Denable-tmdb=yes
- -Denable-tracker=yes
+ -Denable-tracker3=yes
-Denable-vimeo=yes
-Denable-youtube=yes
- ninja -C _build
- ninja -C _build install
- meson test -C _build --suite=grilo-plugins
+
+build_tracker2:
+ before_script:
+ - dnf update -y --nogpgcheck
+ script:
+ - dnf install -y --nogpgcheck $DEPENDENCIES_GRILO $DEPENDENCIES tracker-devel
+ # As part of configuring grilo-plugins.git for build, the latest code from
+ # grilo.git will be fetched by Meson and it will be built as a subproject.
+ - meson . _build --prefix=/usr
+ -Denable-tracker=yes
+ - ninja -C _build
+ - ninja -C _build install
+ - meson test -C _build --suite=grilo-plugins
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]