Make sure we treat records written after HRR as TLSv1.3
[oweals/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`
37             -or (&git log -2 | Select-String "\[extended tests\]") ) {
38             $env:EXTENDED_TESTS="yes"
39         }
40
41 build_script:
42     - cd _build
43     - ps: >-
44         If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
45             cmd /c "nmake 2>&1"
46         }
47     - cd ..
48
49 test_script:
50     - cd _build
51     - ps: >-
52         If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
53             if ($env:EXTENDED_TESTS) {
54                 cmd /c "nmake test V=1 2>&1"
55             } Else {
56                 cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1"
57             }
58         }
59     - ps: >-
60         if ($env:EXTENDED_TESTS) {
61             mkdir ..\_install
62             cmd /c "nmake install install_docs DESTDIR=..\_install 2>&1"
63         }
64     - cd ..