aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2022-08-09 09:10:58 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2022-08-09 09:10:58 +0000
commit70c95151d53031c0a4a88a2e11dc4a391e6c473d (patch)
tree8f1bfd8f95d90dd622fe8cdb9f67589e962fed54
parent1c8f951cffec5903f983e4e7a483eb79517d6d0a (diff)
ci: new test to build with powerd suspend-resume support
-rw-r--r--.gitlab-ci.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bb3a43ea..89b6ad3b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -175,6 +175,39 @@ build-no-suspend-resume:
- make check
- make install
+build-suspend-resume-powerd:
+ 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 --with-powerd-suspend-resume=yes
+ - make
+ - make check
+ - make install
+
build-single-plugins:
stage: build
extends: