2017-07-05 12:33:42 -05:00
|
|
|
language: c
|
|
|
|
dist: trusty
|
|
|
|
|
2017-07-06 16:53:14 -05:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2017-12-13 16:23:05 -06:00
|
|
|
env:
|
|
|
|
- BUILD=x86_64-linux-gnu
|
|
|
|
- EXECUTABLE=openocd
|
2017-09-18 16:05:32 -05:00
|
|
|
compiler: gcc
|
2017-07-06 16:53:14 -05:00
|
|
|
|
|
|
|
- os: linux
|
2017-12-13 16:23:05 -06:00
|
|
|
env:
|
|
|
|
- BUILD=i686-linux-gnu
|
|
|
|
- CFLAGS=-m32
|
|
|
|
- EXECUTABLE=openocd
|
2017-07-06 16:53:14 -05:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-multilib
|
2017-09-18 16:05:32 -05:00
|
|
|
compiler: gcc
|
|
|
|
|
|
|
|
- os: linux
|
2017-12-13 16:23:05 -06:00
|
|
|
env:
|
|
|
|
- BUILD=x86_64-linux-gnu
|
|
|
|
- EXECUTABLE=openocd
|
2017-09-18 16:05:32 -05:00
|
|
|
compiler: clang
|
|
|
|
|
|
|
|
- os: linux
|
2017-12-13 16:23:05 -06:00
|
|
|
env:
|
2017-12-22 16:35:38 -06:00
|
|
|
- BUILD=i686-linux-gnu
|
2017-12-13 16:23:05 -06:00
|
|
|
- CFLAGS=-m32
|
2018-02-19 16:25:48 -06:00
|
|
|
- CONFIGURE_ARGS="--disable-target64"
|
2017-12-13 16:23:05 -06:00
|
|
|
- EXECUTABLE=openocd
|
2017-09-18 16:05:32 -05:00
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-multilib
|
2017-07-06 16:53:14 -05:00
|
|
|
|
2017-12-13 16:23:05 -06:00
|
|
|
- os: linux
|
2017-12-22 16:35:38 -06:00
|
|
|
env:
|
2017-12-13 16:23:05 -06:00
|
|
|
- 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:
|
2018-04-18 15:11:08 -05:00
|
|
|
# Ideally we'd diff back to where we either branched off OpenOCD or master,
|
|
|
|
# or riscv. But that's tricky, and the default git clone only gets the last
|
|
|
|
# 50 changes any case. Most merges won't consist of more than 40 changes,
|
|
|
|
# so this should work fine most of the time, and be a lot better than not
|
|
|
|
# checking at all.
|
2018-04-18 17:49:53 -05:00
|
|
|
#- git diff HEAD~40 | ./tools/scripts/checkpatch.pl --no-signoff -
|
2017-12-13 16:23:05 -06:00
|
|
|
- ./bootstrap && ./configure --enable-remote-bitbang --enable-jtag_vpi $CONFIGURE_ARGS && make
|
|
|
|
- file src/$EXECUTABLE
|