ci: new test to build without suspend-resume support

This commit is contained in:
Aleksander Morgado
2022-08-09 09:05:12 +00:00
parent 6c46794c21
commit 1c8f951cff

View File

@@ -142,6 +142,39 @@ build-no-qmi-no-mbim-no-tests:
- make check
- make install
build-no-suspend-resume:
stage: build
extends:
- .fdo.distribution-image@ubuntu
- .common_variables
only:
- merge_requests
- schedules
script:
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git
- pushd libmbim
- meson setup build --prefix=/usr -Dgtk_doc=false -Dbash_completion=false
- ninja -C build
- ninja -C build install
- popd
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git
- pushd libqrtr-glib
- meson setup build --prefix=/usr -Dgtk_doc=false
- ninja -C build
- ninja -C build install
- popd
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi
- meson setup build --prefix=/usr -Dgtk_doc=false -Dbash_completion=false -Dcollection=basic
- ninja -C build
- ninja -C build install
- popd
- NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --disable-introspection --without-systemd-suspend-resume --without-powerd-suspend-resume
- make
- make check
- make install
build-single-plugins:
stage: build
extends: