[grilo-plugins/wip/hadess/libsoup3-prep: 5/5] ci: Add a new job to compile and test against libsoup3
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins/wip/hadess/libsoup3-prep: 5/5] ci: Add a new job to compile and test against libsoup3
- Date: Tue, 5 Jul 2022 14:45:26 +0000 (UTC)
commit 96595567149fb9af10c1f7f87bcc1be36ad126cd
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jul 5 16:27:18 2022 +0200
ci: Add a new job to compile and test against libsoup3
.gitlab-ci.yml | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 51 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e5d23fbb..9675acba 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,6 +18,12 @@ variables:
vala
gtk-doc
+ DEPENDENCY_GRILO_SOUP2:
+ libsoup-devel
+
+ DEPENDENCY_GRILO_SOUP3:
+ libsoup3-devel
+
DEPENDENCIES:
sqlite-devel
libgcrypt-devel
@@ -45,7 +51,7 @@ build_stable:
before_script:
- dnf update -y --nogpgcheck
script:
- - dnf install -y --nogpgcheck $DEPENDENCIES_GRILO $DEPENDENCIES
+ - dnf install -y --nogpgcheck $DEPENDENCIES_GRILO $DEPENDENCIES $DEPENDENCY_GRILO_SOUP2
# 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
@@ -84,3 +90,47 @@ build_stable:
when: on_failure
paths:
- _build/meson-logs
+
+build_soup3:
+ before_script:
+ - dnf update -y --nogpgcheck
+ script:
+ - dnf install -y --nogpgcheck $DEPENDENCIES_GRILO $DEPENDENCIES $DEPENDENCY_GRILO_SOUP3
+ # 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 -Dgrilo:soup3=true
+ -Denable-bookmarks=yes
+ -Denable-chromaprint=yes
+ -Denable-dleyna=no
+ -Denable-dmap=yes
+ -Denable-filesystem=yes
+ -Denable-flickr=yes
+ -Denable-freebox=yes
+ -Denable-gravatar=yes
+ -Denable-local-metadata=yes
+ -Denable-lua-factory=yes
+ -Denable-magnatune=yes
+ -Denable-metadata-store=yes
+ -Denable-opensubtitles=no
+ -Denable-optical-media=yes
+ -Denable-podcasts=yes
+ -Denable-raitv=yes
+ -Denable-shoutcast=yes
+ -Denable-thetvdb=yes
+ -Denable-tmdb=no
+ -Denable-tracker3=yes
+ -Denable-youtube=no
+ - ninja -C _build
+ - ninja -C _build install
+ # Start a system bus for upower
+ - mkdir -p /run/dbus
+ - mkdir -p /var
+ - ln -s /var/run /run
+ - dbus-daemon --system --fork
+ - /usr/libexec/upowerd &
+ - LANG=C.UTF-8 dbus-run-session meson test -C _build --suite=grilo-plugins
+ artifacts:
+ name: meson-logs
+ when: on_failure
+ paths:
+ - _build/meson-logs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]