mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 21:13:38 +08:00
1d4ddb4e1a
Reviewed-by: Tim Hudson <tjh@openssl.org>
51 lines
1016 B
YAML
51 lines
1016 B
YAML
language: c
|
|
|
|
addons:
|
|
apt_packages:
|
|
- binutils-mingw-w64
|
|
- gcc-mingw-w64
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
- i686-w64-mingw32-gcc
|
|
- x86_64-w64-mingw32-gcc
|
|
|
|
env:
|
|
- CONFIG_OPTS=""
|
|
- CONFIG_OPTS="shared"
|
|
- CONFIG_OPTS="--d --strict-warnings"
|
|
|
|
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
|
|
|
|
script:
|
|
- make
|
|
- if [ -z "$CROSS_COMPILE" ]; then make test; fi
|
|
|
|
notifications:
|
|
recipient:
|
|
- openssl-commits@openssl.org
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|