From fe4f44df6e3e9f0f261fbbbce02374a057af1f4e Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Tue, 24 Mar 2020 13:11:31 +0100 Subject: [PATCH] travis: enable more archs during cron build 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. Differential Revision: https://phab.enlightenment.org/D11586 --- .ci/ci-configure.sh | 18 ++++++++++++++---- .travis.yml | 4 ++++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh index cd7f9eb889..7eb59f7fbb 100755 --- a/.ci/ci-configure.sh +++ b/.ci/ci-configure.sh @@ -99,8 +99,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 -Dgstreamer=false 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 diff --git a/.travis.yml b/.travis.yml index a5b4054806..03d551be4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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