summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksandermj@chromium.org>2023-03-14 15:25:41 +0000
committerAleksander Morgado <aleksandermj@chromium.org>2023-03-14 15:33:55 +0000
commitaccc16e374134ef3e4df036d8b78aa424f3c8720 (patch)
treee6470f5c886bedbe9bea91202f7e59508e889c19
parent9f5fcc6d0e00cc062de5c2ee4398be02c1fa2009 (diff)
downloadlibqmi-accc16e374134ef3e4df036d8b78aa424f3c8720.tar.gz
ci: test build without deprecated symbols support
-rw-r--r--.gitlab-ci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a8e3c9b6..db0d4887 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -157,6 +157,21 @@ build-no-mbim-no-introspection:
- ninja -C build
- ninja -C build install
+build-no-deprecated:
+ stage: build
+ extends:
+ - .fdo.distribution-image@ubuntu
+ - .common_variables
+ only:
+ - main
+ - merge_requests
+ - tags
+ - schedules
+ script:
+ - CFLAGS="-DQMI_DISABLE_DEPRECATED" meson setup build --prefix=/usr -Dwerror=true -Dgtk_doc=false -Dintrospection=false -Dmbim_qmux=false -Dqrtr=false
+ - ninja -C build
+ - ninja -C build install
+
build-collection-minimal:
stage: build
extends: