aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2017-12-13 14:23:05 -0800
committerTim Newsome <tim@sifive.com>2017-12-14 12:36:21 -0800
commit3624d5e5eb3810e1277b56f99d94242210cfc4d8 (patch)
tree525500a3f4d761d5a09d8ad6cc6ab83255cc9b36 /.travis.yml
parent20236ca8170e2e833f4fe5b0219d64c8562d9ffe (diff)
downloadriscv-openocd-3624d5e5eb3810e1277b56f99d94242210cfc4d8.zip
riscv-openocd-3624d5e5eb3810e1277b56f99d94242210cfc4d8.tar.gz
riscv-openocd-3624d5e5eb3810e1277b56f99d94242210cfc4d8.tar.bz2
Add win32 build to travis.
Change-Id: I8ce62ff321c6f3627d42fff13236f7fc9440d429
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml33
1 files changed, 27 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index a99f743..2ec1ede 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,11 +4,16 @@ dist: trusty
matrix:
include:
- os: linux
- env: BUILD=x86_64-linux-gnu
+ env:
+ - BUILD=x86_64-linux-gnu
+ - EXECUTABLE=openocd
compiler: gcc
- os: linux
- env: BUILD=i686-linux-gnu CFLAGS=-m32
+ env:
+ - BUILD=i686-linux-gnu
+ - CFLAGS=-m32
+ - EXECUTABLE=openocd
addons:
apt:
packages:
@@ -16,17 +21,33 @@ matrix:
compiler: gcc
- os: linux
- env: BUILD=x86_64-linux-gnu
+ env:
+ - BUILD=x86_64-linux-gnu
+ - EXECUTABLE=openocd
compiler: clang
- os: linux
- env: BUILD=i686-linux-gnu CFLAGS=-m32
+ env:
+ - BUILD=i686-linux-gnu
+ - CFLAGS=-m32
+ - EXECUTABLE=openocd
compiler: clang
addons:
apt:
packages:
- gcc-multilib
+ - os: linux
+ env:
+ - BUILD=i686-w64-mingw
+ - CONFIGURE_ARGS="--build=i686-unknown-linux-gnu --host=i686-w64-mingw32"
+ - EXECUTABLE=openocd.exe
+ compiler: i686-w64-mingw32-gcc
+ addons:
+ apt:
+ packages:
+ - binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686
+
script:
- - ./bootstrap && ./configure --enable-remote-bitbang --enable-jtag_vpi && make
- - file src/openocd
+ - ./bootstrap && ./configure --enable-remote-bitbang --enable-jtag_vpi $CONFIGURE_ARGS && make
+ - file src/$EXECUTABLE