[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 11:24:26 +0000 (UTC)
commit fff3f994aef6ec025402fd89a2877e4fd852148b
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 | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b50729db3..492c126a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,10 @@
-image: ubuntu:bionic
+image: ubuntu:focal
stages:
- test
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 +13,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 ..
+ - ninja
+ - meson test
+ - ninja install
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]