From 9756f537077778f4423f3c7d6eb4824cd4d81232 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 5 Apr 2017 23:49:23 +0300 Subject: [PATCH] Travis CI: Test also with mingw-w64 32/64-bit cross-compilers (Cherry-pick commit 70bb040 from 'master' branch.) --- .travis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3c9d4344..f06e4c9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -254,6 +254,31 @@ matrix: env: - CFLAGS_EXTRA="-mx32 -march=native -D _FORTIFY_SOURCE=2" - CONF_OPTIONS="--enable-munmap --enable-large-config --enable-gc-assertions" + - os: linux + addons: + apt: + packages: + - g++-mingw-w64 + - gcc-mingw-w64 + compiler: x86_64-w64-mingw32-gcc + dist: trusty + language: c + env: + - CXX=x86_64-w64-mingw32-g++ + - CONF_OPTIONS="--host=x86_64-w64-mingw32 --enable-cplusplus" + - MAKEFILE_TARGETS="all" + - os: linux + addons: + apt: + packages: + - gcc-mingw-w64 + compiler: i686-w64-mingw32-gcc + dist: trusty + language: c + env: + - CONF_OPTIONS="--host=i686-w64-mingw32 --enable-munmap" + - MAKEFILE_TARGETS="all" + - CFLAGS_EXTRA="-fno-omit-frame-pointer" before_install: - if [[ "$MAKEFILE_TARGETS" == "" ]]; then MAKEFILE_TARGETS="check"; fi -- 2.40.0