stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=191171e4c81c1832e9f7b3821c535d8a2b49eb14

commit 191171e4c81c1832e9f7b3821c535d8a2b49eb14
Author: Stefan Schmidt <[email protected]>
Date:   Wed Mar 25 13:37:13 2020 +0100

    ci: travis: enable s390x build on daily cron
    
    As there is no luajit package for s390x in Ubuntu Bionic we need to
    adapt our installed packages as well as config options for it.
    
    Reviewed-by: Marcel Hollerbach <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11601
---
 .ci/ci-configure.sh               | 4 ++++
 .ci/ubuntu-bionic-install-deps.sh | 8 +++++++-
 .travis.yml                       | 4 ++++
 3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh
index 7eb59f7fbb..10730003e6 100755
--- a/.ci/ci-configure.sh
+++ b/.ci/ci-configure.sh
@@ -106,6 +106,10 @@ else # Native Ubuntu Linux Travis builds (non-docker)
     travis_fold meson meson
       OPTS="$OPTS -Dbindings="
     travis_endfold meson
+  elif [ "$TRAVIS_CPU_ARCH" = "s390x" ] ; then
+    travis_fold meson meson
+      OPTS="$OPTS -Dbindings= -Delua=false -Dlua-interpreter=lua"
+    travis_endfold meson
   fi
   if [ "$1" = "codecov" ]; then
     travis_fold meson meson
diff --git a/.ci/ubuntu-bionic-install-deps.sh 
b/.ci/ubuntu-bionic-install-deps.sh
index 9bb2c0efd1..3f08287df1 100755
--- a/.ci/ubuntu-bionic-install-deps.sh
+++ b/.ci/ubuntu-bionic-install-deps.sh
@@ -1,4 +1,10 @@
 #!/bin/sh
 sudo apt-get update -y
-sudo apt-get install -y build-essential autoconf automake autopoint doxygen 
check luajit libharfbuzz-dev libpng-dev libudev-dev libwebp-dev libssl-dev 
libluajit-5.1-dev libfribidi-dev libcogl-gles2-dev libgif-dev libtiff5-dev 
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libdbus-1-dev libmount-dev 
libblkid-dev libpulse-dev libxrandr-dev libxtst-dev libxcursor-dev 
libxcomposite-dev libxinerama-dev libxkbfile-dev libbullet-dev libsndfile1-dev 
libraw-dev libspectre-dev libpoppler-cpp [...]
+sudo apt-get install -y build-essential autoconf automake autopoint doxygen 
check libharfbuzz-dev libpng-dev libudev-dev libwebp-dev libssl-dev 
libfribidi-dev libcogl-gles2-dev libgif-dev libtiff5-dev libgstreamer1.0-dev 
libgstreamer-plugins-base1.0-dev libdbus-1-dev libmount-dev libblkid-dev 
libpulse-dev libxrandr-dev libxtst-dev libxcursor-dev libxcomposite-dev 
libxinerama-dev libxkbfile-dev libbullet-dev libsndfile1-dev libraw-dev 
libspectre-dev libpoppler-cpp-dev libpam0g-dev liblz4- [...]
+# s390x on Ubuntu Bionic on Travis does not have a luajit package and fails 
install, use lua5.1
+if [ "$TRAVIS_CPU_ARCH" = "s390x" ] ; then
+  sudo apt-get install -y liblua5.1-dev
+else
+  sudo apt-get install -y luajit libluajit-5.1-dev
+fi
 sudo pip3 install meson
diff --git a/.travis.yml b/.travis.yml
index 228ed3cafe..e1ec7a36f8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -89,6 +89,10 @@ jobs:
       if: type = cron
       arch: ppc64le
       env: CI_BUILD_TYPE=no-bindings
+    - os: linux
+      if: type = cron
+      arch: s390x
+      env: CI_BUILD_TYPE=no-bindings
 
 services:
   - docker

-- 


Reply via email to