Updates to s_server and s_client for the latest early_data API changes
[openssl.git] / appveyor.yml
1 platform:
2     - x64
3     - x86
4
5 environment:
6     fast_finish: true
7     matrix:
8         - VSVER: 14
9
10 configuration:
11     - shared
12     - plain
13
14 before_build:
15     - ps: >-
16         If ($env:Platform -Match "x86") {
17             $env:VCVARS_PLATFORM="x86"
18             $env:TARGET="VC-WIN32 no-asm"
19         } Else {
20             $env:VCVARS_PLATFORM="amd64"
21             $env:TARGET="VC-WIN64A-masm"
22         }
23     - ps: >-
24         If ($env:Configuration -Match "shared") {
25             $env:SHARED=""
26         } Else {
27             $env:SHARED="no-shared"
28         }
29     - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
30     - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
31     - mkdir _build
32     - cd _build
33     - perl ..\Configure %TARGET% %SHARED%
34     - cd ..
35     - ps: >-
36         if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER -or (&git log -2 | Select-String "\[extended tests\]") ) {
37             $env:EXTENDED_TESTS="yes"
38         }
39
40 build_script:
41     - ps: >-
42         If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
43             cd _build
44             &nmake
45             cd ..
46         }
47
48 test_script:
49     - ps: >-
50         If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
51             cd _build
52             if ($env:EXTENDED_TESTS) {
53                 &nmake test V=1
54                 mkdir ..\_install
55                 &nmake install install_docs DESTDIR=..\_install
56             } Else {
57                 &nmake test V=1 TESTS=-test_fuzz
58             }
59             cd ..
60         }
61
62 notifications:
63     - provider: Email
64       to:
65           - openssl-commits@openssl.org
66       on_build_success: false
67       on_build_failure: true
68       on_build_status_changed: true