summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2019-11-24 22:47:48 -0500
committerAnthony Green <green@moxielogic.com>2019-11-24 22:47:48 -0500
commit1ec01ea81cf18e12748082f48f7c279a3fdd505d (patch)
tree332494b3a6365a65c5cc8f620ae182eef4d0a05f
parent66022e52ec0409f9170eb0884c6d0bdd048bc04e (diff)
downloadlibffi-1ec01ea81cf18e12748082f48f7c279a3fdd505d.tar.gz
Run aarch64-linux-gnu tests on travi-ci directly
-rw-r--r--.travis.yml5
-rwxr-xr-x.travis/build.sh2
-rwxr-xr-x.travis/install.sh8
3 files changed, 10 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 1cc6868..27d8e8a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,6 +35,9 @@ matrix:
arch: ppc64le
env: HOST=ppc64le-linux-gnu
- os: linux
+ arch: arm64
+ env: HOST=aarch64-linux-gnu
+ - os: linux
env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O0"
- os: linux
env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2"
@@ -43,8 +46,6 @@ matrix:
# The sparc64 linux system in the GCC compile farm is non-responsive.
# - os: linux
# env: HOST=sparc64-linux-gnu
-# - os: linux
-# env: HOST=aarch64-linux-gnu
# The mips64 linux system in the GCC compile farm is not allowing logins
# - os: linux
# env: HOST=mips64el-linux-gnu
diff --git a/.travis/build.sh b/.travis/build.sh
index a0cfcef..3e4a018 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -103,7 +103,7 @@ case "$HOST" in
./autogen.sh
build_foreign_linux arm moxielogic/arm32v7-ci-build-container:latest
;;
- aarch64-linux-gnu | mips64el-linux-gnu | sparc64-linux-gnu)
+ mips64el-linux-gnu | sparc64-linux-gnu)
build_cfarm
;;
bfin-elf )
diff --git a/.travis/install.sh b/.travis/install.sh
index bd168bb..2420245 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -14,6 +14,10 @@ if [[ $TRAVIS_OS_NAME != 'linux' ]]; then
else
# Download and extract the rlgl client
case $HOST in
+ aarch64-linux-gnu)
+ wget -qO - https://rl.gl/cli/rlgl-linux-arm.tgz | \
+ tar --strip-components=2 -xvzf - ./rlgl/rlgl;
+ ;;
ppc64le-linux-gnu)
wget -qO - https://rl.gl/cli/rlgl-linux-ppc64le.tgz | \
tar --strip-components=2 -xvzf - ./rlgl/rlgl;
@@ -31,7 +35,7 @@ else
sudo apt-get clean # clear the cache
sudo apt-get update
case $HOST in
- aarch64-linux-gnu | mips64el-linux-gnu | sparc64-linux-gnu)
+ mips64el-linux-gnu | sparc64-linux-gnu)
;;
alpha-linux-gnu | arm32v7-linux-gnu | m68k-linux-gnu | sh4-linux-gnu)
sudo apt-get install qemu-user-static
@@ -57,7 +61,7 @@ else
;;
esac
case $HOST in
- arm32v7-linux-gnu | aarch64-linux-gnu)
+ arm32v7-linux-gnu)
# don't install host tools
;;
*)