travis: enable more archs during cron build
authorStefan Schmidt <s.schmidt@samsung.com>
Tue, 24 Mar 2020 12:11:31 +0000 (13:11 +0100)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 29 Mar 2020 21:26:01 +0000 (06:26 +0900)
Enable builds on ppc64le on our daily build. s390x will follow at some
later point (once all quirks are resolved).
As we also use the Linux native build from Travis for Codecov we start
to handle meson options based on builds here as well.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11586

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

index 773e536..14bfe71 100755 (executable)
@@ -100,8 +100,18 @@ elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
   travis_fold meson meson
   mkdir build && meson build -Dopengl=full -Decore-imf-loaders-disabler=scim,ibus -Dx11=false -Davahi=false -Deeze=false -Dsystemd=false -Dnls=false -Dcocoa=true -Demotion-loaders-disabler=gstreamer1,libvlc,xine
   travis_endfold meson
-else
-  travis_fold meson meson
-  mkdir build && meson build -Decore-imf-loaders-disabler=scim,ibus -Db_coverage=true
-  travis_endfold meson
+else # Native Ubuntu Linux Travis builds (non-docker)
+  OPTS=" -Decore-imf-loaders-disabler=scim,ibus"
+
+  if [ "$TRAVIS_CPU_ARCH" = "ppc64le" ]; then
+    travis_fold meson meson
+      OPTS="$OPTS -Dbindings="
+    travis_endfold meson
+  fi
+  if [ "$1" = "codecov" ]; then
+    travis_fold meson meson
+      OPTS="$OPTS -Db_coverage=true"
+    travis_endfold meson
+  fi
+  mkdir build && meson build $OPTS
 fi
index f832f87..228ed3c 100644 (file)
@@ -85,6 +85,10 @@ jobs:
       if: type = cron
       arch: arm64
       env: CI_BUILD_TYPE=default
+    - os: linux
+      if: type = cron
+      arch: ppc64le
+      env: CI_BUILD_TYPE=no-bindings
 
 services:
   - docker