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
This commit is contained in:
Stefan Schmidt 2020-03-24 13:11:31 +01:00
parent cdd44bf4cb
commit fe4f44df6e
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
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

View 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