Anthony Green | b675125 | 2017-03-15 08:54:52 -0400 | [diff] [blame] | 1 | --- |
| 2 | sudo: required |
| 3 | |
Josh Triplett | 7d69812 | 2014-03-26 23:17:56 -0700 | [diff] [blame] | 4 | language: cpp |
Anthony Green | b675125 | 2017-03-15 08:54:52 -0400 | [diff] [blame] | 5 | |
Anthony Green | eebcbb1 | 2019-11-07 11:26:53 -0500 | [diff] [blame] | 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 | |
Josh Triplett | b3a5da0 | 2014-03-15 23:27:56 -0700 | [diff] [blame] | 10 | matrix: |
Anthony Green | c3caf38 | 2016-09-04 09:21:18 -0400 | [diff] [blame] | 11 | include: |
Anthony Green | d087b59 | 2019-11-18 06:34:42 -0500 | [diff] [blame] | 12 | - os: linux |
Anthony Green | 27d3113 | 2019-11-18 15:06:51 -0500 | [diff] [blame] | 13 | env: HOST=or1k-elf RUNTESTFLAGS="--target_board or1k-sim" DEJAGNU="/opt/.travis/site.exp" |
Anthony Green | 97e3b1f | 2019-11-18 13:02:44 -0500 | [diff] [blame] | 14 | - os: linux |
Anthony Green | 27d3113 | 2019-11-18 15:06:51 -0500 | [diff] [blame] | 15 | env: HOST=m32r-elf RUNTESTFLAGS="--target_board m32r-sim" DEJAGNU="/opt/.travis/site.exp" |
Anthony Green | 97e3b1f | 2019-11-18 13:02:44 -0500 | [diff] [blame] | 16 | - os: linux |
Anthony Green | 27d3113 | 2019-11-18 15:06:51 -0500 | [diff] [blame] | 17 | env: HOST=bfin-elf RUNTESTFLAGS="--target_board bfin-sim" DEJAGNU="/opt/.travis/site.exp" |
Anthony Green | 54af025 | 2019-11-13 09:15:05 -0500 | [diff] [blame] | 18 | # This configuration is still using the native x86 toolchain? |
| 19 | # - os: osx |
| 20 | # env: HOST=aarch64-apple-darwin13 |
Anthony Green | 0de0c6a | 2019-11-10 08:20:46 -0500 | [diff] [blame] | 21 | - os: osx |
| 22 | env: HOST=x86_64-apple-darwin10 |
Anthony Green | b58bd77 | 2019-11-15 11:18:59 -0500 | [diff] [blame] | 23 | - 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 Green | 2cc1172 | 2019-11-11 16:19:45 -0500 | [diff] [blame] | 25 | - os: linux |
Anthony Green | 0da221f | 2019-11-07 12:03:01 -0500 | [diff] [blame] | 26 | env: HOST=sh4-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/sh4-linux-gnu |
Anthony Green | 92f5309 | 2019-11-06 10:49:04 -0500 | [diff] [blame] | 27 | - os: linux |
Anthony Green | 0da221f | 2019-11-07 12:03:01 -0500 | [diff] [blame] | 28 | env: HOST=alpha-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/alpha-linux-gnu |
Anthony Green | 75464ca | 2019-11-06 22:02:11 -0500 | [diff] [blame] | 29 | - os: linux |
Anthony Green | f764f27 | 2019-11-07 12:17:29 -0500 | [diff] [blame] | 30 | 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 Green | 75464ca | 2019-11-06 22:02:11 -0500 | [diff] [blame] | 31 | - os: linux |
Anthony Green | 4e3e058 | 2019-11-07 12:35:27 -0500 | [diff] [blame] | 32 | 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 Green | 92f5309 | 2019-11-06 10:49:04 -0500 | [diff] [blame] | 33 | - os: linux |
Anthony Green | 825b2a3 | 2019-10-16 16:05:46 -0400 | [diff] [blame] | 34 | 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 Green | de6df6d | 2019-11-13 06:32:46 -0500 | [diff] [blame] | 39 | # The sparc64 linux system in the GCC compile farm is non-responsive. |
| 40 | # - os: linux |
| 41 | # env: HOST=sparc64-linux-gnu |
Anthony Green | 54af025 | 2019-11-13 09:15:05 -0500 | [diff] [blame] | 42 | # Having problems getting logs for this one... |
| 43 | # - os: linux |
| 44 | # env: HOST=powerpc64le-unknown-linux-gnu |
Anthony Green | 86d3d37 | 2019-11-13 10:07:00 -0500 | [diff] [blame] | 45 | # - os: linux |
| 46 | # env: HOST=aarch64-linux-gnu |
Anthony Green | cda60c1 | 2019-11-13 06:51:44 -0500 | [diff] [blame] | 47 | # The mips64 linux system in the GCC compile farm is not allowing logins |
| 48 | # - os: linux |
| 49 | # env: HOST=mips64el-linux-gnu |
Anthony Green | 82719cb | 2019-10-31 12:23:11 -0400 | [diff] [blame] | 50 | - os: linux |
Anthony Green | c3caf38 | 2016-09-04 09:21:18 -0400 | [diff] [blame] | 51 | compiler: gcc |
Anthony Green | 9d5bd29 | 2018-03-13 23:07:10 -0400 | [diff] [blame] | 52 | env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"' |
Anthony Green | 6239c28 | 2018-03-13 22:13:44 -0400 | [diff] [blame] | 53 | - os: linux |
Anthony Green | f98e0f0 | 2018-03-29 07:22:38 -0400 | [diff] [blame] | 54 | 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 Green | 5b538ed | 2018-03-14 20:32:00 -0400 | [diff] [blame] | 64 | 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 Green | 9072096 | 2013-01-11 10:57:30 -0500 | [diff] [blame] | 65 | |
Anthony Green | eb0544d | 2018-03-13 23:20:15 -0400 | [diff] [blame] | 66 | before_install: |
| 67 | - if test x"$MEVAL" != x; then eval ${MEVAL}; fi |
| 68 | |
Anthony Green | c3caf38 | 2016-09-04 09:21:18 -0400 | [diff] [blame] | 69 | install: |
Anthony Green | 825b2a3 | 2019-10-16 16:05:46 -0400 | [diff] [blame] | 70 | - travis_wait 30 ./.travis/install.sh |
Anthony Green | 3c337ee | 2013-01-11 11:18:14 -0500 | [diff] [blame] | 71 | |
Josh Triplett | fa5e88f | 2014-03-26 23:53:57 -0700 | [diff] [blame] | 72 | script: |
Anthony Green | 19aec19 | 2018-03-14 12:40:58 -0400 | [diff] [blame] | 73 | - if ! test x"$MEVAL" = x; then eval ${MEVAL}; fi |
Anthony Green | 09dc0a7 | 2019-11-15 10:19:00 -0500 | [diff] [blame] | 74 | - travis_wait 115 sleep infinity & |
Anthony Green | 88a7647 | 2019-11-03 06:28:51 -0500 | [diff] [blame] | 75 | - ./.travis/build.sh |