diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-08-06 10:15:01 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-08-06 10:19:29 +0200 |
commit | 7eb6495c485e107b5867840c8e89ac6504cbb7c1 (patch) | |
tree | 188b78c2123a5e905f8b5503f55d97ff0a51ee6c /.gitlab-ci.yml | |
parent | b77c15f8b54c061b3429b762a5e8aaafe274e8b2 (diff) |
ci: switch to build libqmi from git using meson
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1eefd393..c52ab8ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -75,10 +75,9 @@ build-qmi-qrtr-no-mbim: - popd - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - pushd libqmi - - NOCONFIGURE=1 ./autogen.sh - - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --disable-mbim-qmux --enable-qrtr --enable-collection=basic - - make - - make install + - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false -Dbash_completion=false -Dmbim_qmux=false -Dqrtr=true -Dcollection=basic + - ninja -C build + - ninja -C build install - popd - NOCONFIGURE=1 ./autogen.sh - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim @@ -99,10 +98,9 @@ build-qmi-no-qrtr-no-mbim: script: - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - pushd libqmi - - NOCONFIGURE=1 ./autogen.sh - - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --disable-mbim-qmux --disable-qrtr --enable-collection=basic - - make - - make install + - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false -Dbash_completion=false -Dmbim_qmux=false -Dqrtr=false -Dcollection=basic + - ninja -C build + - ninja -C build install - popd - NOCONFIGURE=1 ./autogen.sh - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim @@ -140,10 +138,9 @@ build-qmi-newest-commands: script: - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - pushd libqmi - - NOCONFIGURE=1 ./autogen.sh - - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --disable-mbim-qmux --enable-collection=basic - - make - - make install + - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false -Dbash_completion=false -Dmbim_qmux=false -Dqrtr=false -Dcollection=basic + - ninja -C build + - ninja -C build install - popd - NOCONFIGURE=1 ./autogen.sh - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim CFLAGS="-DWITH_NEWEST_QMI_COMMANDS" @@ -174,10 +171,9 @@ build-single-plugins: - popd - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - pushd libqmi - - NOCONFIGURE=1 ./autogen.sh - - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --enable-mbim-qmux --enable-qrtr --enable-collection=basic - - make - - make install + - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false -Dbash_completion=false -Dmbim_qmux=true -Dqrtr=true -Dcollection=basic + - ninja -C build + - ninja -C build install - popd - NOCONFIGURE=1 ./autogen.sh - for plugin in generic altair-lte anydata broadmobi cinterion @@ -215,10 +211,9 @@ build-default: - popd - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - pushd libqmi - - NOCONFIGURE=1 ./autogen.sh - - ./configure --prefix=/usr --disable-gtk-doc --enable-introspection --enable-mbim-qmux --enable-qrtr --enable-collection=basic - - make - - make install + - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=true -Dbash_completion=false -Dmbim_qmux=true -Dqrtr=true -Dcollection=basic + - ninja -C build + - ninja -C build install - popd - NOCONFIGURE=1 ./autogen.sh - ./configure --prefix=/usr --enable-gtk-doc --enable-introspection --with-polkit=strict --with-suspend-resume=systemd --with-systemdsystemunitdir=/lib/systemd/system |