ci: disable introspection and gtk-doc in all tests that don't need it

The template image we're using already contains all the necessary
build deps to enable introspection and gtk-doc, so we need to
explicitly disable them where we don't need them, or otherwise they'll
be automatically enabled as the deps are found.
This commit is contained in:
Aleksander Morgado
2021-04-28 21:27:22 +02:00
parent d9072562cd
commit 4593eec173

View File

@@ -46,12 +46,12 @@ build-no-qmi:
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git
- pushd libmbim - pushd libmbim
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection
- make - make
- make install - make install
- popd - popd
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/tmp/build-no-qmi --disable-gtk-doc --without-qmi - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-qmi
- make - make
- make check - make check
- make install - make install
@@ -70,19 +70,19 @@ build-qmi-qrtr-no-mbim:
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git
- pushd libqrtr-glib - pushd libqrtr-glib
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection
- make - make
- make install - make install
- popd - popd
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi - pushd libqmi
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --disable-mbim-qmux --enable-qrtr --enable-collection=basic - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --disable-mbim-qmux --enable-qrtr --enable-collection=basic
- make - make
- make install - make install
- popd - popd
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/tmp/build-qmi-qrtr-no-mbim --disable-gtk-doc --without-mbim - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim
- make - make
- make check - make check
- make install - make install
@@ -101,12 +101,12 @@ build-qmi-no-qrtr-no-mbim:
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi - pushd libqmi
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --disable-mbim-qmux --disable-qrtr --enable-collection=basic - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --disable-mbim-qmux --disable-qrtr --enable-collection=basic
- make - make
- make install - make install
- popd - popd
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/tmp/build-qmi-no-qrtr-no-mbim --disable-gtk-doc --without-mbim - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim
- make - make
- make check - make check
- make install - make install
@@ -123,7 +123,7 @@ build-no-qmi-no-mbim:
- schedules - schedules
script: script:
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/tmp/build-no-qmi-no-mbim --disable-gtk-doc --without-qmi --without-mbim - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-qmi --without-mbim
- make - make
- make check - make check
- make install - make install
@@ -142,12 +142,12 @@ build-qmi-newest-commands:
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi - pushd libqmi
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --disable-mbim-qmux --enable-collection=basic - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --disable-mbim-qmux --enable-collection=basic
- make - make
- make install - make install
- popd - popd
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/tmp/build-qmi-newest-commands --disable-gtk-doc --without-mbim CFLAGS="-DWITH_NEWEST_QMI_COMMANDS" - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --without-mbim CFLAGS="-DWITH_NEWEST_QMI_COMMANDS"
- make - make
- make check - make check
- make install - make install
@@ -163,21 +163,21 @@ build-single-plugins:
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git
- pushd libmbim - pushd libmbim
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection
- make - make
- make install - make install
- popd - popd
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git
- pushd libqrtr-glib - pushd libqrtr-glib
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection
- make - make
- make install - make install
- popd - popd
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi - pushd libqmi
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --enable-mbim-qmux --enable-qrtr --enable-collection=basic - ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --enable-mbim-qmux --enable-qrtr --enable-collection=basic
- make - make
- make install - make install
- popd - popd
@@ -188,7 +188,7 @@ build-single-plugins:
novatel novatel-lte option option-hso pantech novatel novatel-lte option option-hso pantech
qcom-soc quectel samsung sierra-legacy sierra simtech qcom-soc quectel samsung sierra-legacy sierra simtech
telit thuraya tplink ublox via wavecom x22x zte; do telit thuraya tplink ublox via wavecom x22x zte; do
./configure --prefix=/usr --disable-gtk-doc --disable-all-plugins --enable-plugin-$plugin; ./configure --prefix=/usr --disable-gtk-doc --disable-introspection --disable-all-plugins --enable-plugin-$plugin;
make; make;
make clean; make clean;
done done
@@ -209,26 +209,26 @@ build-default:
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libmbim.git
- pushd libmbim - pushd libmbim
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr - ./configure --prefix=/usr --disable-gtk-doc --enable-introspection
- make - make
- make install - make install
- popd - popd
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git
- pushd libqrtr-glib - pushd libqrtr-glib
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr - ./configure --prefix=/usr --disable-gtk-doc --enable-introspection
- make - make
- make install - make install
- popd - popd
- git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git - git clone --depth 1 https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
- pushd libqmi - pushd libqmi
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --enable-mbim-qmux --enable-qrtr --enable-collection=basic - ./configure --prefix=/usr --disable-gtk-doc --enable-introspection --enable-mbim-qmux --enable-qrtr --enable-collection=basic
- make - make
- make install - make install
- popd - popd
- NOCONFIGURE=1 ./autogen.sh - NOCONFIGURE=1 ./autogen.sh
- ./configure --prefix=/usr --enable-gtk-doc --with-polkit=strict --with-suspend-resume=systemd --with-systemdsystemunitdir=/lib/systemd/system - ./configure --prefix=/usr --enable-gtk-doc --enable-introspection --with-polkit=strict --with-suspend-resume=systemd --with-systemdsystemunitdir=/lib/systemd/system
- make - make
- make check - make check
- make install - make install