[grilo-plugins/wip/jfelder/tracker3-ci] ci: Build tracker2 and tracker3 modules
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins/wip/jfelder/tracker3-ci] ci: Build tracker2 and tracker3 modules
- Date: Fri, 21 Aug 2020 19:17:00 +0000 (UTC)
commit 4829ea24137c51cb85f31fb3f735849b7b0bd47b
Author: Jean Felder <jfelder src gnome org>
Date: Fri Aug 21 17:37:21 2020 +0200
ci: Build tracker2 and tracker3 modules
.gitlab-ci.yml | 67 ++++++++++++++++++++++++++++++++--------------------------
1 file changed, 37 insertions(+), 30 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dafcc5e9..a58d5651 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,37 +14,44 @@ variables:
gom-devel gnome-online-accounts-devel libgdata-devel
gstreamer1-plugins-good gstreamer1-plugins-bad-free-extras
-build_stable:
+.dependencies procedure: &dependencies_procedure
+ rm -rf _build/ &&
+ dnf update -y --nogpgcheck &&
+ dnf install -y --nogpgcheck $DEPENDENCIES_GRILO $DEPENDENCIES
+
+
+.Build procedure: &build_procedure
+ # 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 ${BUILD_OPTS} &&
+ ninja -C _build &&
+ ninja -C _build install &&
+ meson test -C _build --suite=grilo-plugins
+
+build_tracker2:
+ stage: build
+ variables:
+ BUILD_OPTS: "-Denable-bookmarks=yes -Denable-chromaprint=yes -Denable-dleyna=yes -Denable-dmap=yes
-Denable-filesystem=yes -Denable-flickr=yes -Denable-freebox=yes -Denable-gravatar=yes -Denable-jamendo=yes
-Denable-local-metadata=yes -Denable-lua-factory=yes -Denable-magnatune=yes -Denable-metadata-store=yes
-Denable-opensubtitles=yes -Denable-optical-media=yes -Denable-podcasts=yes -Denable-raitv=yes
-Denable-shoutcast=yes -Denable-thetvdb=yes -Denable-tmdb=yes -Denable-tracker=yes -Denable-tracker3=no
-Denable-vimeo=yes -Denable-youtube=yes"
+ before_script:
+ - *dependencies_procedure
+ script:
+ - *build_procedure
+
+build_tracker3:
+ stage: build
+ variables:
+ BUILD_OPTS: "-Denable-bookmarks=yes -Denable-chromaprint=yes -Denable-dleyna=yes -Denable-dmap=yes
-Denable-filesystem=yes -Denable-flickr=yes -Denable-freebox=yes -Denable-gravatar=yes -Denable-jamendo=yes
-Denable-local-metadata=yes -Denable-lua-factory=yes -Denable-magnatune=yes -Denable-metadata-store=yes
-Denable-opensubtitles=yes -Denable-optical-media=yes -Denable-podcasts=yes -Denable-raitv=yes
-Denable-shoutcast=yes -Denable-thetvdb=yes -Denable-tmdb=yes -Denable-tracker=no -Denable-tracker3=yes
-Denable-vimeo=yes -Denable-youtube=yes"
before_script:
- - dnf update -y --nogpgcheck
+ - *dependencies_procedure
+ - git clone https://gitlab.gnome.org/GNOME/tracker.git _tracker
+ - git clone https://gitlab.gnome.org/GNOME/tracker-miners.git _tracker-miners
script:
- - dnf install -y --nogpgcheck $DEPENDENCIES_GRILO $DEPENDENCIES
- # 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-bookmarks=yes
- -Denable-chromaprint=yes
- -Denable-dleyna=yes
- -Denable-dmap=yes
- -Denable-filesystem=yes
- -Denable-flickr=yes
- -Denable-freebox=yes
- -Denable-gravatar=yes
- -Denable-jamendo=yes
- -Denable-local-metadata=yes
- -Denable-lua-factory=yes
- -Denable-magnatune=yes
- -Denable-metadata-store=yes
- -Denable-opensubtitles=yes
- -Denable-optical-media=yes
- -Denable-podcasts=yes
- -Denable-raitv=yes
- -Denable-shoutcast=yes
- -Denable-thetvdb=yes
- -Denable-tmdb=yes
- -Denable-tracker=yes
- -Denable-vimeo=yes
- -Denable-youtube=yes
+ - cd _tracker
+ - meson . _build --prefix=/usr -Dman=false -Ddocs=false
+ - ninja -C _build
+ - ninja -C _build install
+ - cd ../_tracker-miners
+ - meson . _build --prefix=/usr -Ddocs=false
- ninja -C _build
- ninja -C _build install
- - meson test -C _build --suite=grilo-plugins
+ - *build_procedure
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]