2015-08-19 22:12:29 +00:00
|
|
|
language: c
|
|
|
|
|
2015-09-21 23:54:36 +00:00
|
|
|
addons:
|
|
|
|
apt_packages:
|
|
|
|
- binutils-mingw-w64
|
|
|
|
- gcc-mingw-w64
|
|
|
|
|
2015-08-19 22:12:29 +00:00
|
|
|
os:
|
2015-09-21 23:54:36 +00:00
|
|
|
- linux
|
|
|
|
- osx
|
2015-08-19 22:12:29 +00:00
|
|
|
|
|
|
|
compiler:
|
2015-09-21 23:54:36 +00:00
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
- i686-w64-mingw32-gcc
|
|
|
|
- x86_64-w64-mingw32-gcc
|
2015-08-19 22:12:29 +00:00
|
|
|
|
|
|
|
env:
|
2015-09-21 23:54:36 +00:00
|
|
|
- CONFIG_OPTS=""
|
|
|
|
- CONFIG_OPTS="shared"
|
2015-10-06 16:23:42 +00:00
|
|
|
- CONFIG_OPTS="--debug --strict-warnings"
|
2015-09-21 23:54:36 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- os: osx
|
|
|
|
compiler: i686-w64-mingw32-gcc
|
|
|
|
- os: osx
|
|
|
|
compiler: x86_64-w64-mingw32-gcc
|
2015-10-06 16:23:42 +00:00
|
|
|
allow_failures:
|
|
|
|
- compiler: i686-w64-mingw32-gcc
|
|
|
|
env: CONFIG_OPTS="--debug --strict-warnings"
|
|
|
|
- compiler: x86_64-w64-mingw32-gcc
|
|
|
|
env: CONFIG_OPTS="--debug --strict-warnings"
|
2015-09-21 23:54:36 +00:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- if [ "$CC" == i686-w64-mingw32-gcc ]; then
|
|
|
|
export CROSS_COMPILE=${CC%%gcc}; unset CC;
|
2015-10-07 07:35:12 +00:00
|
|
|
./Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format;
|
2015-09-21 23:54:36 +00:00
|
|
|
elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then
|
|
|
|
export CROSS_COMPILE=${CC%%gcc}; unset CC;
|
2015-10-07 07:35:12 +00:00
|
|
|
./Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format;
|
2015-09-21 23:54:36 +00:00
|
|
|
else
|
|
|
|
./config $CONFIG_OPTS;
|
|
|
|
fi
|
2015-08-19 22:12:29 +00:00
|
|
|
|
|
|
|
script:
|
2015-09-21 23:54:36 +00:00
|
|
|
- make
|
|
|
|
- if [ -z "$CROSS_COMPILE" ]; then make test; fi
|
2015-08-19 22:12:29 +00:00
|
|
|
|
|
|
|
notifications:
|
2015-09-21 23:54:36 +00:00
|
|
|
email:
|
2015-10-06 16:23:42 +00:00
|
|
|
- openssl-commits@openssl.org
|