summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2019-11-29 19:28:41 -0500
committerAnthony Green <green@moxielogic.com>2019-11-29 19:28:41 -0500
commit5556805353062bc42ee76d0df6cb82c02b1b78a5 (patch)
tree6b31b659795e881cad2ef078d34c0d49fadb6ef9
parent76c0cfea70f78586231d7994492396eebfb12d5f (diff)
downloadlibffi-5556805353062bc42ee76d0df6cb82c02b1b78a5.tar.gz
Try android build
-rw-r--r--.travis.yml64
1 files changed, 3 insertions, 61 deletions
diff --git a/.travis.yml b/.travis.yml
index bd908fd..ee13abc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,73 +1,15 @@
---
sudo: required
-language: cpp
-
-# For qemu-powered targets, get the list of supported processors from
-# travis by setting QEMU_CPU=help, then set -mcpu= for the compilers
-# accordingly.
+language: android
matrix:
include:
- os: linux
- env: HOST=powerpc-eabisim RUNTESTFLAGS="--target_board powerpc-eabisim" DEJAGNU="/opt/.travis/site.exp"
- - os: linux
- env: HOST=or1k-elf RUNTESTFLAGS="--target_board or1k-sim" DEJAGNU="/opt/.travis/site.exp"
- - os: linux
- env: HOST=m32r-elf RUNTESTFLAGS="--target_board m32r-sim" DEJAGNU="/opt/.travis/site.exp"
- - os: linux
- env: HOST=bfin-elf RUNTESTFLAGS="--target_board bfin-sim" DEJAGNU="/opt/.travis/site.exp"
-# This configuration is still using the native x86 toolchain?
-# - os: osx
-# env: HOST=aarch64-apple-darwin13
- - os: osx
- env: HOST=x86_64-apple-darwin10
- - os: linux
- env: HOST=x86_64-w64-mingw32 MEVAL='export CC="x86_64-w64-mingw32-gcc" && CXX="x86_64-w64-mingw32-g++" RUNTESTFLAGS="--target_board wine-sim" DEJAGNU="$TRAVIS_BUILD_DIR/.travis/site.exp" CONFIGURE_OPTIONS=--disable-shared LIBFFI_TEST_OPTIMIZATION="-O2"
- - os: linux
- env: HOST=sh4-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/sh4-linux-gnu
- - os: linux
- env: HOST=alpha-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/alpha-linux-gnu
- - os: linux
- env: HOST=m68k-linux-gnu MEVAL='export CC="m68k-linux-gnu-gcc-8 -mcpu=547x" && CXX="m68k-linux-gnu-g++-8 -mcpu=547x"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/m68k-linux-gnu QEMU_CPU=cfv4e
- - os: linux
- arch: s390x
- env: HOST=s390x-linux-gnu
- - os: linux
- 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"
- - os: linux
- env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2 -fomit-frame-pointer"
-# The sparc64 linux system in the GCC compile farm is non-responsive.
-# - os: linux
-# env: HOST=sparc64-linux-gnu
-# The mips64 linux system in the GCC compile farm is not allowing logins
-# - os: linux
-# env: HOST=mips64el-linux-gnu
- - os: linux
- compiler: gcc
- env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
- - os: linux
- compiler: gcc
- - os: linux
- compiler: gcc
- env: CONFIGURE_OPTIONS=--disable-shared
- - os: linux
- compiler: clang
- - os: linux
- compiler: clang
- env: CONFIGURE_OPTIONS=--disable-shared
- - os: linux
- env: HOST=moxie-elf MEVAL='export PATH=/opt/moxielogic/bin:$PATH && CC=moxie-elf-gcc && CXX=moxie-elf-g++' LDFLAGS=-Tsim.ld RUNTESTFLAGS="--target_board moxie-sim" DEJAGNU="$TRAVIS_BUILD_DIR/.travis/site.exp"
+ env: HOST=arm8-android RUNTESTFLAGS="--target_board android DEJAGNU="/opt/.travis/site.exp"
before_install:
+ - android list sdk --no-ui --all --extended
- if test x"$MEVAL" != x; then eval ${MEVAL}; fi
install: