[gsound/mjog/meson-port: 1/3] ci: Update CI to use meson




commit b8eebc646cc4477de8a41f14cf48b43d7e24be71
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jul 27 11:31:36 2021 +0200

    ci: Update CI to use meson

 .gitlab-ci.yml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c734038..c036d2f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,10 +3,8 @@ image: fedora:rawhide
 variables:
   DEPENDENCIES:
     gcc
-    automake
-    autoconf
-    autoconf-archive
-    libtool
+    meson
+    git
     glibc-devel
     glib-devel
     gtk-doc
@@ -14,7 +12,11 @@ variables:
     libcanberra-devel
     vala
   DEPENDENCIES_ABI_CHECK:
+    automake
+    autoconf
+    autoconf-archive
     libabigail
+    libtool
   LAST_ABI_BREAK: "a86946b494aa32782b3f6334344d07b5c11d5219"
 
 build_stable:
@@ -22,12 +24,10 @@ build_stable:
     - dnf update -y --nogpgcheck
     - dnf install -y --nogpgcheck $DEPENDENCIES
   script:
-    - mkdir _build
-    - cd _build
-    - ../autogen.sh --prefix=/usr --sysconfdir=/etc --enable-vala=yes --enable-gtk-doc --enable-introspection
-    - make
-    - make install
-    - cd ..
+    - meson . _build --prefix=/usr -Dgtk_doc=true -Dintrospection=true -Denable_vala=true
+    - ninja -C _build
+    - ninja -C _build install
+    - ninja -C _build dist
     # Check on ABI
     - curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
     - dnf install -y $DEPENDENCIES_ABI_CHECK


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]