travis: merge wayland build into misc and rename to options-enabled
authorStefan Schmidt <s.schmidt@samsung.com>
Mon, 19 Nov 2018 13:22:10 +0000 (14:22 +0100)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:37:06 +0000 (14:37 +0900)
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

.ci/ci-configure.sh
.ci/ci-make-check.sh
.travis.yml

index e69cddc..01e7be8 100755 (executable)
@@ -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"
-  fi
-
-  if [ "$1" = "misc" ]; then
-    OPTS="$OPTS $MISC_LINUX_COPTS"
+  if [ "$1" = "options-enabled" ]; then
+    OPTS="$OPTS $ENABLED_LINUX_COPTS $WAYLAND_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
index 6cbb543..6813ea7 100755 (executable)
@@ -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
 
index 245225a..dd92528 100644 (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