diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-03-13 10:58:16 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-03-13 11:20:56 +0100 |
commit | 8fba3a23189779f36f5e0fdeff78385ee395a9b3 (patch) | |
tree | 70af4d36d9b2683ec89a81d85190194f0aa24b24 /.gitlab-ci.yml | |
parent | 5ef3c8eeb1f8efac06a3f5a03bd886a7a5f0583a (diff) |
ci: include builds without qmi and/or without mbim
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 80 |
1 files changed, 62 insertions, 18 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df8278c4..a7b362f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,28 +1,72 @@ image: gcc stages: - - test + - build before_script: - - apt update && apt -y install autoconf automake libtool libgudev-1.0-dev libgettextpo-dev autopoint xsltproc dbus - - export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH - - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git - - pushd libmbim - - ./autogen.sh - - make - - make install - - popd - - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - - pushd libqmi - - ./autogen.sh - - make - - make install - - popd + - apt update + - apt -y install autoconf automake libtool libgudev-1.0-dev libgettextpo-dev autopoint xsltproc dbus -test: - stage: test +build-no-qmi: + stage: build script: - - ./autogen.sh + - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git + - pushd libmbim + - NOCONFIGURE=1 ./autogen.sh + - ./configure --prefix=/usr + - make + - make install + - popd + - NOCONFIGURE=1 ./autogen.sh + - ./configure --prefix=/tmp/build-no-qmi --disable-gtk-doc --without-qmi + - make + - make check + - make install + +build-no-mbim: + stage: build + script: + - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git + - pushd libqmi + - NOCONFIGURE=1 ./autogen.sh + - ./configure --prefix=/usr --disable-mbim-qmux + - make + - make install + - popd + - NOCONFIGURE=1 ./autogen.sh + - ./configure --prefix=/tmp/build-no-mbim --disable-gtk-doc --without-mbim + - make + - make check + - make install + +build-no-qmi-no-mbim: + stage: build + script: + - NOCONFIGURE=1 ./autogen.sh + - ./configure --prefix=/tmp/build-no-qmi-no-mbim --disable-gtk-doc --without-qmi --without-mbim + - make + - make check + - make install + +build-default: + stage: build + script: + - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git + - pushd libmbim + - NOCONFIGURE=1 ./autogen.sh + - ./configure --prefix=/usr + - make + - make install + - popd + - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git + - pushd libqmi + - NOCONFIGURE=1 ./autogen.sh + - ./configure --prefix=/usr --enable-mbim-qmux + - make + - make install + - popd + - NOCONFIGURE=1 ./autogen.sh + - ./configure --prefix=/usr --disable-gtk-doc - make - make check - make install |