[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: Tue, 19 Oct 2021 10:31:13 +0000 (UTC)
commit 84927314975f52dda66461b2223c3088da759855
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 | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b50729db3..6e42364c0 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
@@ -14,15 +15,16 @@ before_script:
libsecret-1-dev libpeas-dev yelp-tools x11proto-core-dev
liblircclient-dev python3-dev python-gi-dev
libdmapsharing-3.0-dev libjson-glib-dev libgrilo-0.3-dev
- libxml2-dev libtdb-dev
+ libxml2-dev libtdb-dev ninja-build
test:
stage: test
+ before_script:
+ - pip3 install --user meson
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]