[rhythmbox/wip/sam/meson] ci: Run CI using meson instead of autotools
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/sam/meson] ci: Run CI using meson instead of autotools
- Date: Mon, 25 Oct 2021 12:06:45 +0000 (UTC)
commit c2246a8db41dcfe8a813d1bed2194a7d189d7aac
Author: Sam Thursfield <sam afuera me uk>
Date: Tue Oct 27 20:44:59 2020 +0100
ci: Run CI using meson instead of autotools
And bump Ubuntu version to 20.04, as we see this on Bionic:
../lib/libmediaplayerid/meson.build:38:0: ERROR: Static libraries can only be introspected with
GObject-Introspection >=1.58.1
.gitlab-ci.yml | 35 +++++++++++++++++++++++++++--------
1 file changed, 27 insertions(+), 8 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b50729db3..98a995a4e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,28 @@
-image: ubuntu:bionic
+image: ubuntu:focal
stages:
- test
+variables:
+ MESON_ARGS:
+ -Dfm_radio=disabled
+ -Dplugins_python=enabled
+ -Dlibnotify=enabled
+ -Dmmkeys=enabled
+ -Ddaap=enabled
+ -Dgrilo=enabled
+ -Dgudev=enabled
+ -Dipod=enabled
+ -Dlibsecret=enabled
+ -Dmtp=enabled
+ -Dlirc=enabled
+ -Dsample-plugins=true
+ -Dgtk_doc=true
+ -Dhelp=true
+ -Dtests=true
+
before_script:
+ - export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get install -y build-essential intltool gtk-doc-tools pkg-config
libgtk-3-dev libgstreamer1.0-dev
@@ -12,17 +31,17 @@ before_script:
libsoup2.4-dev libgudev-1.0-dev libmtp-dev libnotify-dev
libbrasero-media3-dev
libsecret-1-dev libpeas-dev yelp-tools x11proto-core-dev
- liblircclient-dev python3-dev python-gi-dev
+ liblircclient-dev python3-dev python-gi-dev python3-pip
libdmapsharing-3.0-dev libjson-glib-dev libgrilo-0.3-dev
- libxml2-dev libtdb-dev
+ libxml2-dev libtdb-dev ninja-build check
+ - pip3 install meson
test:
stage: test
script:
- mkdir build
- cd build
- - NOCONFIGURE=1 ../autogen.sh
- - ../configure
- - make
- - make check
- - make install
+ - meson .. $MESON_ARGS
+ - ninja
+ - meson test
+ - ninja install
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]