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.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11586
This commit is contained in:
Stefan Schmidt 2020-03-24 13:11:31 +01:00
parent 32b9a9eba0
commit aa34cc0489
2 changed files with 18 additions and 4 deletions

View File

@ -99,8 +99,18 @@ elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
travis_fold meson meson 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 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 travis_endfold meson
else else # Native Ubuntu Linux Travis builds (non-docker)
travis_fold meson meson OPTS=" -Decore-imf-loaders-disabler=scim,ibus"
mkdir build && meson build -Decore-imf-loaders-disabler=scim,ibus -Db_coverage=true
travis_endfold meson 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 fi

View File

@ -85,6 +85,10 @@ jobs:
if: type = cron if: type = cron
arch: arm64 arch: arm64
env: CI_BUILD_TYPE=default env: CI_BUILD_TYPE=default
- os: linux
if: type = cron
arch: ppc64le
env: CI_BUILD_TYPE=no-bindings
services: services:
- docker - docker