[grilo-plugins/wip/carlosg/tracker3: 1/5] ci: Build and test the new tracker 3 plugin
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins/wip/carlosg/tracker3: 1/5] ci: Build and test the new tracker 3 plugin
- Date: Sun, 23 Aug 2020 01:05:18 +0000 (UTC)
commit 40b1d16b4656b74c024e92bb43493542c8f7b989
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 | 35 +++++++++++++++++++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dafcc5e9..2939d97e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,15 +10,28 @@ 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
+ python3-gobject-base dbus-daemon
build_stable:
before_script:
- dnf update -y --nogpgcheck
script:
- dnf install -y --nogpgcheck $DEPENDENCIES_GRILO $DEPENDENCIES
+ # FIXME: While tracker3 isn't in Fedora
+ - dnf install -y --nogpgcheck libseccomp-devel
+ - 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 ..
+ - git clone https://gitlab.gnome.org/GNOME/tracker-miners.git
+ - cd tracker-miners
+ - meson . _build --prefix=/usr -Dpng=enabled -Dgeneric_media_extractor=gstreamer -Dminer_rss=false
-Dman=false
+ - 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 +55,27 @@ 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
+ - LANG=C.UTF-8 meson test -C _build --suite=grilo-plugins
+ artifacts:
+ name: meson-logs
+ when: on_failure
+ paths:
+ - _build/meson-logs
+
+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]