summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-08-06 10:43:54 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-08-06 10:43:54 +0200
commitd3bafc485f9a70ea469c0b815d33171a2a88e08a (patch)
treedc9801c88943e281f85f8c93b23d526379f8acd1
parent493475fe8e3366fc9fbba12f1eff7a2a6008a442 (diff)
ci: switch to build libqrtr-glib from git using meson
-rw-r--r--.gitlab-ci.yml28
1 files 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