Try new cfarm build for power
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
diff --git a/.travis.yml b/.travis.yml
index 2c44f95..e5941b0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,8 @@ matrix:
- os: linux
env: HOST=aarch64-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2 -fomit-frame-pointer"
- os: linux
+ env: HOST=powerpc64le-unknown-linux-gnu
+ - os: linux
compiler: gcc
env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
- os: linux
diff --git a/.travis/build.sh b/.travis/build.sh
index 8e0cf42..aeab2c6 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -1,5 +1,10 @@
#!/bin/bash
+function build_cfarm()
+{
+ curl -u ${CFARM_AUTH} https://cfarm-test-libffi-libffi.apps.home.labdroid.net/test?host=${HOST}\&commit=${TRAVIS_COMMIT}
+}
+
function build_linux()
{
./autogen.sh
@@ -50,8 +55,8 @@ case "$HOST" in
aarch64-linux-gnu)
build_foreign_linux aarch64 moxielogic/aarch64-ci-build-container:latest
;;
- ppc64le-linux-gnu)
- build_foreign_linux ppc64le moxielogic/ppc64le-ci-build-container:latest
+ powerpc64le-unknown-linux-gnu)
+ build_cfarm
;;
s390x-linux-gnu)
build_foreign_linux s390x s390x/ubuntu
diff --git a/.travis/install.sh b/.travis/install.sh
index b0b05bd..e0d64d6 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -10,7 +10,9 @@ else
sudo apt-get clean # clear the cache
sudo apt-get update
case $HOST in
- arm32v7-linux-gnu | aarch64-linux-gnu | ppc64le-linux-gnu | s390x-linux-gnu)
+ powerpc64le-unknown-linux-gnu)
+ ;;
+ arm32v7-linux-gnu | aarch64-linux-gnu | s390x-linux-gnu)
sudo apt-get install qemu-user-static
;;
i386-pc-linux-gnu)