2015-10-29 04:11:37 +08:00
|
|
|
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"
|
|
|
|
}
|
2016-03-16 21:58:17 +08:00
|
|
|
- ps: >-
|
|
|
|
If ($env:Configuration -Match "shared") {
|
|
|
|
$env:SHARED=""
|
2016-04-14 21:28:13 +08:00
|
|
|
} Else {
|
|
|
|
$env:SHARED="no-shared"
|
2016-03-16 21:58:17 +08:00
|
|
|
}
|
2015-10-29 04:11:37 +08:00
|
|
|
- ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
|
|
|
|
- call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
|
2016-06-02 23:37:26 +08:00
|
|
|
- mkdir _build
|
|
|
|
- cd _build
|
|
|
|
- perl ..\Configure %TARGET% no-asm %SHARED%
|
|
|
|
- cd ..
|
2015-10-29 04:11:37 +08:00
|
|
|
|
|
|
|
build_script:
|
2016-06-02 23:37:26 +08:00
|
|
|
- cd _build
|
2016-03-08 02:18:42 +08:00
|
|
|
- nmake
|
2016-06-02 23:37:26 +08:00
|
|
|
- cd ..
|
2015-10-29 04:11:37 +08:00
|
|
|
|
|
|
|
test_script:
|
2016-06-02 23:37:26 +08:00
|
|
|
- cd _build
|
2016-10-13 16:44:33 +08:00
|
|
|
- nmake test V=1
|
2016-10-21 17:55:04 +08:00
|
|
|
- mkdir ..\_install
|
2016-06-02 23:37:26 +08:00
|
|
|
- nmake install install_docs DESTDIR=..\_install
|
|
|
|
- cd ..
|
2015-10-29 04:11:37 +08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
- provider: Email
|
|
|
|
to:
|
|
|
|
- openssl-commits@openssl.org
|
|
|
|
on_build_success: false
|
|
|
|
on_build_failure: true
|
|
|
|
on_build_status_changed: true
|