Actually *running* the check (quicktest or the full test)
requires that WINE is installed too, which is a bit heavy.
Note that you would need to also install "binfmt-support",
so that Linux knows how to execute the .exe files (wine).
packages:
- elfutils
- zlib1g-dev
+ - gcc-mingw-w64-i686
+ - binutils-mingw-w64-i686
os:
- linux
- gcc
matrix:
+ include:
+ - os: linux
+ compiler: gcc
+ env: HOST="--host=i686-w64-mingw32" TEST="test/main.exe"
include:
- os: linux
compiler: clang
env: CFLAGS="-fsanitize=address -g" ASAN_OPTIONS="detect_leaks=0"
+
exclude:
- os: osx
compiler: gcc
script:
- ./autogen.sh
- - ./configure
+ - ./configure $HOST
- make
- - make test
+ - make ${TEST:-test}