riscv-openocd/.travis.yml

57 lines
1.5 KiB
YAML
Raw Normal View History

2017-07-05 12:33:42 -05:00
language: c
dist: trusty
matrix:
include:
- os: linux
env:
- BUILD=x86_64-linux-gnu
- EXECUTABLE=openocd
2017-09-18 16:05:32 -05:00
compiler: gcc
- os: linux
env:
- BUILD=i686-linux-gnu
- CFLAGS=-m32
- EXECUTABLE=openocd
addons:
apt:
packages:
- gcc-multilib
2017-09-18 16:05:32 -05:00
compiler: gcc
- os: linux
env:
- BUILD=x86_64-linux-gnu
- EXECUTABLE=openocd
2017-09-18 16:05:32 -05:00
compiler: clang
- os: linux
env:
- BUILD=i686-linux-gnu
- CFLAGS=-m32
- CONFIGURE_ARGS="--disable-target64"
- EXECUTABLE=openocd
2017-09-18 16:05:32 -05:00
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
2017-07-05 12:33:42 -05:00
script:
- set -o pipefail
- git diff `git merge-base master HEAD` | ./tools/scripts/checkpatch.pl -
- ./bootstrap && ./configure --enable-remote-bitbang --enable-jtag_vpi $CONFIGURE_ARGS && make
- file src/$EXECUTABLE