]> git.ipfire.org Git - thirdparty/openssl.git/blob - appveyor.yml
Fix SSL_check_chain()
[thirdparty/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="no-makedepend"
26 } Else {
27 $env:SHARED="no-shared no-makedepend"
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 - perl configdata.pm --dump
35 - cd ..
36 - ps: >-
37 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
38 -or (&git log -2 | Select-String "\[extended tests\]") ) {
39 $env:EXTENDED_TESTS="yes"
40 }
41
42 build_script:
43 - cd _build
44 - ps: >-
45 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
46 cmd /c "nmake build_all_generated 2>&1"
47 cmd /c "nmake PERL=no-perl 2>&1"
48 }
49 - cd ..
50
51 test_script:
52 - cd _build
53 - ps: >-
54 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
55 if ($env:EXTENDED_TESTS) {
56 cmd /c "nmake test V=1 2>&1"
57 } Else {
58 cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1"
59 }
60 }
61 - ps: >-
62 if ($env:EXTENDED_TESTS) {
63 mkdir ..\_install
64 cmd /c "nmake install DESTDIR=..\_install 2>&1"
65 }
66 - cd ..