]>
Commit | Line | Data |
---|---|---|
1 | platform: | |
2 | - x86 | |
3 | - x64 | |
4 | ||
5 | environment: | |
6 | matrix: | |
7 | - VSVER: 14 | |
8 | ||
9 | configuration: | |
10 | - plain | |
11 | - shared | |
12 | ||
13 | before_build: | |
14 | - ps: >- | |
15 | If ($env:Platform -Match "x86") { | |
16 | $env:VCVARS_PLATFORM="x86" | |
17 | $env:TARGET="VC-WIN32" | |
18 | } Else { | |
19 | $env:VCVARS_PLATFORM="amd64" | |
20 | $env:TARGET="VC-WIN64A" | |
21 | } | |
22 | - ps: >- | |
23 | If ($env:Configuration -Match "shared") { | |
24 | $env:SHARED="" | |
25 | } Else { | |
26 | $env:SHARED="no-shared" | |
27 | } | |
28 | - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS")) | |
29 | - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM% | |
30 | - perl Configure %TARGET% no-asm %SHARED% | |
31 | ||
32 | build_script: | |
33 | - nmake | |
34 | ||
35 | test_script: | |
36 | - nmake test | |
37 | ||
38 | notifications: | |
39 | - provider: Email | |
40 | to: | |
41 | - openssl-commits@openssl.org | |
42 | on_build_success: false | |
43 | on_build_failure: true | |
44 | on_build_status_changed: true |