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 773e536aa141c1ffcbdfe30bc2d9166239a751cb..14bfe71f4e0e49c8dba77a43ff42b32a23faa9f9 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 f832f8778a7d78d49d82c689d48ed19cd672b804..228ed3cafee36831ebb992b9a4d8aec2975f02da 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