Removing unnecessary instruction from ffi_call_unix64 (#588)
[platform/upstream/libffi.git] / .travis.yml
1 ---
2 sudo: required
3
4 language: cpp
5
6 # For qemu-powered targets, get the list of supported processors from
7 # travis by setting QEMU_CPU=help, then set -mcpu= for the compilers
8 # accordingly.
9
10 matrix:
11   include:
12     - os: linux
13       env: HOST=powerpc-eabisim RUNTESTFLAGS="--target_board powerpc-eabisim" DEJAGNU="/opt/.travis/site.exp"
14     - os: linux
15       env: HOST=or1k-elf RUNTESTFLAGS="--target_board or1k-sim" DEJAGNU="/opt/.travis/site.exp"
16     - os: linux
17       env: HOST=m32r-elf RUNTESTFLAGS="--target_board m32r-sim" DEJAGNU="/opt/.travis/site.exp"
18     - os: linux
19       env: HOST=bfin-elf RUNTESTFLAGS="--target_board bfin-sim" DEJAGNU="/opt/.travis/site.exp"
20 # This configuration is still using the native x86 toolchain?
21 #    - os: osx
22 #      env: HOST=aarch64-apple-darwin13
23     - os: osx
24       env: HOST=x86_64-apple-darwin10
25     - os: linux
26       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"
27     - os: linux
28       env: HOST=sh4-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/sh4-linux-gnu
29     - os: linux
30       env: HOST=alpha-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/alpha-linux-gnu
31     - os: linux
32       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
33     - os: linux
34       arch: s390x
35       env: HOST=s390x-linux-gnu
36     - os: linux
37       arch: ppc64le
38       env: HOST=ppc64le-linux-gnu
39     - os: linux
40       arch: arm64
41       env: HOST=aarch64-linux-gnu
42     - os: linux
43       arch: arm64
44       env: HOST=aarch64-linux-gnu
45       compiler: clang
46     - os: linux
47       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O0"
48     - os: linux
49       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2"
50     - os: linux
51       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2 -fomit-frame-pointer"
52 # The sparc64 linux system in the GCC compile farm is non-responsive.
53 #    - os: linux
54 #      env: HOST=sparc64-linux-gnu
55 # The mips64 linux system in the GCC compile farm is not allowing logins
56 #    - os: linux
57 #      env: HOST=mips64el-linux-gnu
58     - os: linux
59       compiler: gcc
60       env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
61     - os: linux
62       compiler: gcc
63     - os: linux
64       compiler: gcc
65       env: CONFIGURE_OPTIONS=--disable-shared
66     - os: linux
67       compiler: clang
68     - os: linux
69       compiler: clang
70       env: CONFIGURE_OPTIONS=--disable-shared
71     - os: linux
72       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"
73
74 before_install:
75   - if test x"$MEVAL" != x; then eval ${MEVAL}; fi
76
77 install:
78   - travis_wait 30 ./.travis/install.sh
79
80 script:
81   - if ! test x"$MEVAL" = x; then eval ${MEVAL}; fi
82   - travis_wait 115 sleep infinity &
83   - ./.travis/build.sh