aboutsummaryrefslogtreecommitdiffstats
path: root/.ci
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2018-01-05 16:24:43 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2018-01-10 09:49:53 +0100
commit564e8987b9f0752b9d74265fd4fc25f0e7d82c9b (patch)
treeb3ff9f3ac5fb5c2a942e2e0b084d3b2114328ac4 /.ci
parenttravis: drop older osx build, latest should be enough (diff)
downloadefl-564e8987b9f0752b9d74265fd4fc25f0e7d82c9b.tar.gz
travis: add misc and wayland build options to build matrix
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/ci-linux-build.sh35
1 files changed, 29 insertions, 6 deletions
diff --git a/.ci/ci-linux-build.sh b/.ci/ci-linux-build.sh
index 5472495b5a..a48d0788a1 100755
--- a/.ci/ci-linux-build.sh
+++ b/.ci/ci-linux-build.sh
@@ -1,10 +1,33 @@
#!/bin/sh
-COPTS="--with-tests=regular"
PARALLEL_JOBS=10
-# Normal build test of all targets
-./autogen.sh $COPTS $@
-make -j $PARALLEL_JOBS
-make -j $PARALLEL_JOBS examples
-make -j $PARALLEL_JOBS benchmark
+CI_BUILD_TYPE=$1
+
+DEFAULT_COPTS="--with-tests=regular"
+WAYLAND_COPTS="--with-tests=regular --enable-wayland --enable-elput --enable-drm"
+MISC_COPTS="--enable-harfbuzz --enable-liblz4 --enable-image-loader-webp --enable-xinput22 --enable-multisense --enable-lua-old --enable-xpresent --enable-hyphen"
+
+# --enable-libvlc --enable-vnc-server --enable-g-main-loop --enable-libuv --enable-fb --enable-eglfs --enable-sdl --enable-gl-drm --enable-egl --enable-pix man --enable-tile-rotate --enable-ecore-buffer --enable-image-loader-generic --enable-image-loader-jp2k --enable-gesture --enable-v4l2 --enable-xine
+# --with-profile=PROFILE --with-crypto=CRYPTO
+
+if [ "$CI_BUILD_TYPE" = "" ]; then
+ # Normal build test of all targets
+ ./autogen.sh $DEFAULT_COPTS
+ make -j $PARALLEL_JOBS
+ make -j $PARALLEL_JOBS examples
+ make -j $PARALLEL_JOBS benchmark
+fi
+
+if [ "$CI_BUILD_TYPE" = "wayland" ]; then
+ ./autogen.sh $WAYLAND_COPTS
+ make -j $PARALLEL_JOBS
+ make -j $PARALLEL_JOBS examples
+fi
+
+if [ "$CI_BUILD_TYPE" = "misc" ]; then
+ ./autogen.sh $MISC_COPTS
+ make -j $PARALLEL_JOBS
+ make -j $PARALLEL_JOBS examples
+fi
+