mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
e951eca8b4
Update the Travis and Appveyor builds to explicitly state no-shared where applicable. Reviewed-by: Richard Levitte <levitte@openssl.org>
45 lines
955 B
YAML
45 lines
955 B
YAML
platform:
|
|
- x86
|
|
- x64
|
|
|
|
environment:
|
|
matrix:
|
|
- VSVER: 14
|
|
|
|
configuration:
|
|
- plain
|
|
- shared
|
|
|
|
before_build:
|
|
- ps: >-
|
|
If ($env:Platform -Match "x86") {
|
|
$env:VCVARS_PLATFORM="x86"
|
|
$env:TARGET="VC-WIN32"
|
|
} Else {
|
|
$env:VCVARS_PLATFORM="amd64"
|
|
$env:TARGET="VC-WIN64A"
|
|
}
|
|
- ps: >-
|
|
If ($env:Configuration -Match "shared") {
|
|
$env:SHARED=""
|
|
} Else {
|
|
$env:SHARED="no-shared"
|
|
}
|
|
- ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
|
|
- call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
|
|
- perl Configure %TARGET% no-asm %SHARED%
|
|
|
|
build_script:
|
|
- nmake
|
|
|
|
test_script:
|
|
- nmake test
|
|
|
|
notifications:
|
|
- provider: Email
|
|
to:
|
|
- openssl-commits@openssl.org
|
|
on_build_success: false
|
|
on_build_failure: true
|
|
on_build_status_changed: true
|