summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-10-12 15:35:49 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-10-12 16:43:48 +0200
commit68e452a2f5f8453bc0574f548367fef6f65b1d5f (patch)
tree766c4c317eeacf24d8d2ad4a78c6841c653bc061 /.gitlab-ci.yml
parent2027e5d09107aa6a2215166708126be0cd534c51 (diff)
downloadlibqmi-68e452a2f5f8453bc0574f548367fef6f65b1d5f.tar.gz
ci: add test to build without deprecated symbols
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d1b06d4e..34a51109 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,15 @@ stages:
before_script:
- apt update && apt -y install autoconf automake libtool libgudev-1.0-dev autoconf-archive
+test-no-deprecated:
+ stage: test
+ script:
+ - NOCONFIGURE=1 ./autogen.sh
+ - ./configure --prefix=/usr CFLAGS="-DQMI_DISABLE_DEPRECATED"
+ - make
+ - make check
+ - make install
+
test-no-mbim-no-qrtr:
stage: test
script: