mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-26 06:30:35 +01:00
travis: enabling building more optional components during CI
A few components are still disabled. Most notably, team support which is not available on Ubuntu 14.04 (trusty). All other components which are disabled are bugs in our build tools. It should be possible to enable them, but currently breaks on travis. Those needs additional fixes. In particular, the DHCP plugins and ifcfg-rh plugin with meson. Also, netconfig plugin with autotools requires that the path exists.
This commit is contained in:
parent
08d19df209
commit
e893405927
1 changed files with 35 additions and 2 deletions
37
.travis.yml
37
.travis.yml
|
|
@ -97,9 +97,19 @@ script:
|
|||
-D introspection=false \
|
||||
-D qt=false \
|
||||
-D crypto=$CRYPTO \
|
||||
\
|
||||
-D docs=true \
|
||||
\
|
||||
-D libnm_glib=true \
|
||||
-D iwd=true \
|
||||
-D ofono=true \
|
||||
-D teamdctl=false \
|
||||
\
|
||||
-D dhcpcanon=/bin/true \
|
||||
-D dhclient=/bin/true \
|
||||
\
|
||||
-D netconfig=true \
|
||||
-D resolvconf=true \
|
||||
\
|
||||
-D ifcfg_rh=false \
|
||||
-D ibft=true \
|
||||
-D ifupdown=true \
|
||||
|
|
@ -118,7 +128,30 @@ script:
|
|||
NOCONFIGURE=1 ./autogen.sh &&
|
||||
mkdir ./build &&
|
||||
pushd ./build &&
|
||||
../configure --prefix="$PWD/INST" --with-systemd-logind=no --enable-more-warnings=no --enable-ifcfg-rh --enable-config-plugin-ibft --enable-ifupdown --enable-tests --with-crypto=$CRYPTO &&
|
||||
../configure \
|
||||
--prefix="$PWD/INST" \
|
||||
--enable-gtk-doc=yes \
|
||||
--with-systemd-logind=no \
|
||||
--enable-more-warnings=no \
|
||||
--enable-tests=yes \
|
||||
--with-crypto=$CRYPTO \
|
||||
\
|
||||
--with-libnm-glib=yes \
|
||||
--with-iwd=yes \
|
||||
--with-ofono=yes \
|
||||
--enable-teamdctl=no \
|
||||
\
|
||||
--with-dhcpcanon=yes \
|
||||
--with-dhcpcd=yes \
|
||||
--with-dhclient=yes \
|
||||
\
|
||||
--with-netconfig=no \
|
||||
--with-resolvconf=yes \
|
||||
\
|
||||
--enable-ifcfg-rh=yes \
|
||||
--enable-config-plugin-ibft=yes \
|
||||
--enable-ifupdown=yes \
|
||||
&&
|
||||
make -j4 &&
|
||||
if [ "$CC" == gcc ]; then
|
||||
sudo locale-gen pl_PL.UTF-8 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue