From d3bafc485f9a70ea469c0b815d33171a2a88e08a Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 6 Aug 2021 10:43:54 +0200 Subject: ci: switch to build libqrtr-glib from git using meson --- .gitlab-ci.yml | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5d6ab0..4e907f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,10 +50,9 @@ build-meson-default: - popd - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git - pushd libqrtr-glib - - NOCONFIGURE=1 ./autogen.sh - - ./configure --prefix=/usr --enable-gtk-doc --enable-introspection - - make - - make install + - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=true + - ninja -C build + - ninja -C build install - popd - meson setup _debug_build --prefix=/usr -Dwerror=true -Dgtk_doc=false -Dintrospection=true -Dmbim_qmux=true -Dqrtr=true -Drmnet=true - ninja -C _debug_build @@ -97,10 +96,9 @@ build-meson-no-rmnet: - popd - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git - pushd libqrtr-glib - - NOCONFIGURE=1 ./autogen.sh - - ./configure --prefix=/usr --enable-gtk-doc --enable-introspection - - make - - make install + - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false + - ninja -C build + - ninja -C build install - popd - meson setup build --prefix=/usr -Dwerror=true -Dgtk_doc=false -Dintrospection=false -Dmbim_qmux=true -Dqrtr=true -Drmnet=false - ninja -C build @@ -140,10 +138,9 @@ build-meson-no-mbim: script: - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git - pushd libqrtr-glib - - NOCONFIGURE=1 ./autogen.sh - - ./configure --prefix=/usr --enable-gtk-doc --enable-introspection - - make - - make install + - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false + - ninja -C build + - ninja -C build install - popd - meson setup build --prefix=/usr -Dwerror=true -Dgtk_doc=false -Dintrospection=false -Dmbim_qmux=false -Dqrtr=true -Drmnet=true - ninja -C build @@ -162,10 +159,9 @@ build-meson-no-mbim-no-introspection: script: - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git - pushd libqrtr-glib - - NOCONFIGURE=1 ./autogen.sh - - ./configure --prefix=/usr --enable-gtk-doc --disable-introspection - - make - - make install + - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false + - ninja -C build + - ninja -C build install - popd - meson setup build --prefix=/usr -Dwerror=true -Dgtk_doc=false -Dintrospection=false -Dmbim_qmux=false -Dqrtr=true -Drmnet=true - ninja -C build -- cgit v1.2.3