ci: switch to build libqmi from git using meson

This commit is contained in:
Aleksander Morgado
2021-08-06 10:15:01 +02:00
parent b77c15f8b5
commit 7eb6495c48

View File

@@ -75,10 +75,9 @@ build-qmi-qrtr-no-mbim:
- popd - popd
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi - pushd libqmi
- NOCONFIGURE=1 ./autogen.sh - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false -Dbash_completion=false -Dmbim_qmux=false -Dqrtr=true -Dcollection=basic
- ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --disable-mbim-qmux --enable-qrtr --enable-collection=basic - ninja -C build
- make - ninja -C build install
- make install
- popd - popd
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim
@@ -99,10 +98,9 @@ build-qmi-no-qrtr-no-mbim:
script: script:
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi - pushd libqmi
- NOCONFIGURE=1 ./autogen.sh - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false -Dbash_completion=false -Dmbim_qmux=false -Dqrtr=false -Dcollection=basic
- ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --disable-mbim-qmux --disable-qrtr --enable-collection=basic - ninja -C build
- make - ninja -C build install
- make install
- popd - popd
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim
@@ -140,10 +138,9 @@ build-qmi-newest-commands:
script: script:
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi - pushd libqmi
- NOCONFIGURE=1 ./autogen.sh - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false -Dbash_completion=false -Dmbim_qmux=false -Dqrtr=false -Dcollection=basic
- ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --disable-mbim-qmux --enable-collection=basic - ninja -C build
- make - ninja -C build install
- make install
- popd - popd
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim CFLAGS="-DWITH_NEWEST_QMI_COMMANDS" - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim CFLAGS="-DWITH_NEWEST_QMI_COMMANDS"
@@ -174,10 +171,9 @@ build-single-plugins:
- popd - popd
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi - pushd libqmi
- NOCONFIGURE=1 ./autogen.sh - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=false -Dbash_completion=false -Dmbim_qmux=true -Dqrtr=true -Dcollection=basic
- ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --enable-mbim-qmux --enable-qrtr --enable-collection=basic - ninja -C build
- make - ninja -C build install
- make install
- popd - popd
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- for plugin in generic altair-lte anydata broadmobi cinterion - for plugin in generic altair-lte anydata broadmobi cinterion
@@ -215,10 +211,9 @@ build-default:
- popd - popd
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi - pushd libqmi
- NOCONFIGURE=1 ./autogen.sh - meson setup build --prefix=/usr -Dgtk_doc=false -Dintrospection=true -Dbash_completion=false -Dmbim_qmux=true -Dqrtr=true -Dcollection=basic
- ./configure --prefix=/usr --disable-gtk-doc --enable-introspection --enable-mbim-qmux --enable-qrtr --enable-collection=basic - ninja -C build
- make - ninja -C build install
- make install
- popd - popd
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --enable-gtk-doc --enable-introspection --with-polkit=strict --with-suspend-resume=systemd --with-systemdsystemunitdir=/lib/systemd/system - ./configure --prefix=/usr --enable-gtk-doc --enable-introspection --with-polkit=strict --with-suspend-resume=systemd --with-systemdsystemunitdir=/lib/systemd/system