Commit 0f021eea authored by Bastien Nocera's avatar Bastien Nocera Committed by Carlos Garnacho
Browse files

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.
parent 56f293f4
Pipeline #206884 passed with stage
in 11 minutes and 37 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment