[rhythmbox/wip/sam/meson: 2/2] ci: Run CI using meson instead of autotools




commit 24f183909379a9a66215859738ed95f97ff46a26
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..9764e7c73 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
+  - 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]