diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2017-04-03 09:04:11 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2017-05-16 15:45:13 +0300 |
commit | 68d84630c7ff335e5a4c7b8bc14fb63babe1bc5b (patch) | |
tree | d0f5ef37dc204f3f9f035019d1ef24b6c51d2c42 | |
parent | bc143bbd55917bfe1166c78f066db9c9e9f20149 (diff) | |
download | libatomic_ops-68d84630c7ff335e5a4c7b8bc14fb63babe1bc5b.tar.gz |
Travis CI: Test also with mingw-w64 cross-compiler
(Cherry-pick commit 50a4f94 from 'master' branch.)
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index d4e23a9..45c8935 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,6 +85,16 @@ matrix: env: - CFLAGS_EXTRA="-march=native" - CONF_OPTIONS="--enable-assertions" + - os: linux + addons: + apt: + packages: + - gcc-mingw-w64 + compiler: x86_64-w64-mingw32-gcc + dist: trusty + env: + - CONF_OPTIONS="--host=x86_64-w64-mingw32 --enable-shared" + - MAKEFILE_TARGET=all before_install: - if [[ "$AUTOMAKE_VER" != "" || "$LIBTOOL_VER" != "" || "$M4_VER" != "" ]]; then |