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




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

    ci: Update CI to use meson

 .gitlab-ci.yml | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c734038..94e967f 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
@@ -22,12 +20,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]