travis: merge wayland build into misc and rename to options-enabled

The misc build already had most of the extra options enabled for the EFL
build. Instead of wasting CPU cycles on a full seperate build for just
wayland options we merge these two together. In the process we rename
from misc (pretty vague) to options-enabled and options-disbaled.

Due to the combination of options we need to disable sdl for now. It
clashes with the OpenGL ES option we enable for wayland. Having build
for the different GL flavours is something we should look into at some
point.

Patch is based on the patches from Marcel in D7253 and D7254

Differential Revision: https://phab.enlightenment.org/D7320
This commit is contained in:
Stefan Schmidt 2018-11-19 14:22:10 +01:00
parent c8e0a1d2e2
commit defded25eb
3 changed files with 14 additions and 18 deletions

View File

@ -11,16 +11,20 @@ DEFAULT_LINUX_COPTS="--prefix=/usr/ --with-tests=regular --disable-cxx-bindings
WAYLAND_LINUX_COPTS=" --enable-wayland --enable-elput --enable-drm \
--enable-wayland-ivi-shell --enable-gl-drm --with-opengl=es --enable-egl"
MISC_LINUX_COPTS=" --enable-harfbuzz --enable-liblz4 --enable-image-loader-webp --enable-xinput22 \
ENABLED_LINUX_COPTS=" --enable-harfbuzz --enable-liblz4 --enable-image-loader-webp --enable-xinput22 \
--enable-multisense --enable-lua-old --enable-xpresent --enable-hyphen \
--enable-pixman --enable-pixman-font --enable-pixman-rect --enable-pixman-line \
--enable-pixman-poly --enable-pixman-image --enable-pixman-image-scale-sample \
--enable-image-loader-generic --enable-libuv --enable-tile-rotate --enable-vnc-server \
--enable-sdl --enable-fb --enable-v4l2 --enable-cserve \
--enable-fb --enable-v4l2 --enable-cserve \
--enable-ecore-wayland --enable-ecore-drm --enable-cancel-ok --with-crypto=gnutls \
--enable-debug --disable-gstreamer1 --enable-gstreamer"
MISC_DISABLED_LINUX_COPTS=" --disable-neon --disable-libeeze --disable-systemd --disable-magic-debug \
# Not compatible with Open GL ES and thus the wayland options. Need to think about having different
# jobs for the different supported GL flavours.
#--enable-sdl
DISABLED_LINUX_COPTS=" --disable-neon --disable-libeeze --disable-systemd --disable-magic-debug \
--disable-valgrind --disable-gstreamer1 \
--disable-fontconfig --disable-fribidi --disable-poppler --disable-spectre --disable-libraw \
--disable-librsvg --disable-xcf --disable-libmount --disable-tslib --disable-audio \
@ -43,16 +47,12 @@ if [ "$DISTRO" != "" ] ; then
# Normal build test of all targets
OPTS="$DEFAULT_LINUX_COPTS"
if [ "$1" = "wayland" ]; then
OPTS="$OPTS $WAYLAND_LINUX_COPTS"
if [ "$1" = "options-enabled" ]; then
OPTS="$OPTS $ENABLED_LINUX_COPTS $WAYLAND_LINUX_COPTS"
fi
if [ "$1" = "misc" ]; then
OPTS="$OPTS $MISC_LINUX_COPTS"
fi
if [ "$1" = "misc-disabled" ]; then
OPTS="$OPTS $MISC_DISABLED_LINUX_COPTS"
if [ "$1" = "options-disabled" ]; then
OPTS="$OPTS $DISABLED_LINUX_COPTS"
fi
if [ "$1" = "release-ready" ]; then

View File

@ -10,7 +10,7 @@ if [ "$1" = "mingw" ] ; then
fi
#T7151
if [ "$1" = "misc" ] || [ "$1" = "misc-disabled" ] ; then
if [ "$1" = "options-enabled" ] || [ "$1" = "options-disabled" ] ; then
exit 0
fi

View File

@ -23,15 +23,11 @@ jobs:
- env:
- os: linux
- DISTRO=Fedora28
- CI_BUILD_TYPE=wayland
- CI_BUILD_TYPE=options-enabled
- env:
- os: linux
- DISTRO=Fedora28
- CI_BUILD_TYPE=misc
- env:
- os: linux
- DISTRO=Fedora28
- CI_BUILD_TYPE=misc-disabled
- CI_BUILD_TYPE=options-disabled
- env:
- os: linux
- DISTRO=Fedora28