Try s390x and sh4 cross builds/tests

This commit is contained in:
Anthony Green
2019-11-06 10:49:04 -05:00
parent d4a28fee72
commit 92f5309def
4 changed files with 21 additions and 5 deletions
+9
View File
@@ -34,6 +34,12 @@ function build_foreign_linux()
exit $?
}
function build_cross_linux()
{
docker run --rm -t -i -v `pwd`:/opt --rm -ti -e HOST="${HOST}" LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" $2 bash -c /opt/.travis/build-in-container.sh
exit $?
}
function build_ios()
{
which python
@@ -56,6 +62,9 @@ case "$HOST" in
aarch64-linux-gnu| powerpc64le-unknown-linux-gnu | mips64el-linux-gnu | sparc64-linux-gnu)
build_cfarm
;;
sh4-linux-gnu | s390x-linux-gnu )
build_cross_linux
;;
*)
./autogen.sh
build_linux