blob: 7cd3a186ab45c9e506bab0b25c6e15b669afbdd6 [file] [log] [blame]
Anthony Greenb6751252017-03-15 08:54:52 -04001---
2sudo: required
3
Josh Triplett7d698122014-03-26 23:17:56 -07004language: cpp
Anthony Greenb6751252017-03-15 08:54:52 -04005
Anthony Greeneebcbb12019-11-07 11:26:53 -05006# 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
Josh Triplettb3a5da02014-03-15 23:27:56 -070010matrix:
Anthony Greenc3caf382016-09-04 09:21:18 -040011 include:
Anthony Greend087b592019-11-18 06:34:42 -050012 - os: linux
Anthony Green27d31132019-11-18 15:06:51 -050013 env: HOST=or1k-elf RUNTESTFLAGS="--target_board or1k-sim" DEJAGNU="/opt/.travis/site.exp"
Anthony Green97e3b1f2019-11-18 13:02:44 -050014 - os: linux
Anthony Green27d31132019-11-18 15:06:51 -050015 env: HOST=m32r-elf RUNTESTFLAGS="--target_board m32r-sim" DEJAGNU="/opt/.travis/site.exp"
Anthony Green97e3b1f2019-11-18 13:02:44 -050016 - os: linux
Anthony Green27d31132019-11-18 15:06:51 -050017 env: HOST=bfin-elf RUNTESTFLAGS="--target_board bfin-sim" DEJAGNU="/opt/.travis/site.exp"
Anthony Green54af0252019-11-13 09:15:05 -050018# This configuration is still using the native x86 toolchain?
19# - os: osx
20# env: HOST=aarch64-apple-darwin13
Anthony Green0de0c6a2019-11-10 08:20:46 -050021 - os: osx
22 env: HOST=x86_64-apple-darwin10
Anthony Greenb58bd772019-11-15 11:18:59 -050023 - os: linux
24 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"
Anthony Green2cc11722019-11-11 16:19:45 -050025 - os: linux
Anthony Green0da221f2019-11-07 12:03:01 -050026 env: HOST=sh4-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/sh4-linux-gnu
Anthony Green92f53092019-11-06 10:49:04 -050027 - os: linux
Anthony Green0da221f2019-11-07 12:03:01 -050028 env: HOST=alpha-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/alpha-linux-gnu
Anthony Green75464ca2019-11-06 22:02:11 -050029 - os: linux
Anthony Greenf764f272019-11-07 12:17:29 -050030 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
Anthony Green75464ca2019-11-06 22:02:11 -050031 - os: linux
Anthony Green4e3e0582019-11-07 12:35:27 -050032 env: HOST=s390x-linux-gnu MEVAL='export CC="s390x-linux-gnu-gcc-8" && CXX="s390x-linux-gnu-g++-8"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/s390x-linux-gnu QEMU_CPU=max
Anthony Green92f53092019-11-06 10:49:04 -050033 - os: linux
Anthony Green825b2a32019-10-16 16:05:46 -040034 env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O0"
35 - os: linux
36 env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2"
37 - os: linux
38 env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2 -fomit-frame-pointer"
Anthony Greende6df6d2019-11-13 06:32:46 -050039# The sparc64 linux system in the GCC compile farm is non-responsive.
40# - os: linux
41# env: HOST=sparc64-linux-gnu
Anthony Green54af0252019-11-13 09:15:05 -050042# Having problems getting logs for this one...
43# - os: linux
44# env: HOST=powerpc64le-unknown-linux-gnu
Anthony Green86d3d372019-11-13 10:07:00 -050045# - os: linux
46# env: HOST=aarch64-linux-gnu
Anthony Greencda60c12019-11-13 06:51:44 -050047# The mips64 linux system in the GCC compile farm is not allowing logins
48# - os: linux
49# env: HOST=mips64el-linux-gnu
Anthony Green82719cb2019-10-31 12:23:11 -040050 - os: linux
Anthony Greenc3caf382016-09-04 09:21:18 -040051 compiler: gcc
Anthony Green9d5bd292018-03-13 23:07:10 -040052 env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
Anthony Green6239c282018-03-13 22:13:44 -040053 - os: linux
Anthony Greenf98e0f02018-03-29 07:22:38 -040054 compiler: gcc
55 - os: linux
56 compiler: gcc
57 env: CONFIGURE_OPTIONS=--disable-shared
58 - os: linux
59 compiler: clang
60 - os: linux
61 compiler: clang
62 env: CONFIGURE_OPTIONS=--disable-shared
63 - os: linux
Anthony Green5b538ed2018-03-14 20:32:00 -040064 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"
Anthony Green90720962013-01-11 10:57:30 -050065
Anthony Greeneb0544d2018-03-13 23:20:15 -040066before_install:
67 - if test x"$MEVAL" != x; then eval ${MEVAL}; fi
68
Anthony Greenc3caf382016-09-04 09:21:18 -040069install:
Anthony Green825b2a32019-10-16 16:05:46 -040070 - travis_wait 30 ./.travis/install.sh
Anthony Green3c337ee2013-01-11 11:18:14 -050071
Josh Triplettfa5e88f2014-03-26 23:53:57 -070072script:
Anthony Green19aec192018-03-14 12:40:58 -040073 - if ! test x"$MEVAL" = x; then eval ${MEVAL}; fi
Anthony Green09dc0a72019-11-15 10:19:00 -050074 - travis_wait 115 sleep infinity &
Anthony Green88a76472019-11-03 06:28:51 -050075 - ./.travis/build.sh