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