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-09-25 23:44:52 +08:00
|
|
|
- CONFIG_OPTS="-d --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
|
|
|
|
|
|
|
|
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
|
|
|
recipient:
|
|
|
|
- openssl-commits@openssl.org
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|