]> git.ipfire.org Git - thirdparty/openssl.git/blame - appveyor.yml
X509_PUBKEY_set(): Fix memory leak
[thirdparty/openssl.git] / appveyor.yml
CommitLineData
b03de7a9
F
1image:
2 - Visual Studio 2017
3
68db80e2 4platform:
68db80e2 5 - x64
fd74aba8 6 - x86
68db80e2
AG
7
8environment:
fd74aba8 9 fast_finish: true
68db80e2 10 matrix:
b03de7a9 11 - VSVER: 15
68db80e2
AG
12
13configuration:
68db80e2 14 - shared
fd74aba8 15 - plain
68db80e2 16
68db80e2 17before_build:
b03de7a9
F
18 - ps: >-
19 Install-Module VSSetup -Scope CurrentUser
20 - ps: >-
21 Get-VSSetupInstance -All
22 - ps: >-
23 gci env:* | sort-object name
68db80e2
AG
24 - ps: >-
25 If ($env:Platform -Match "x86") {
26 $env:VCVARS_PLATFORM="x86"
b4a7b4ec 27 $env:TARGET="VC-WIN32 no-asm --strict-warnings"
68db80e2
AG
28 } Else {
29 $env:VCVARS_PLATFORM="amd64"
fe9aa764 30 $env:TARGET="VC-WIN64A-masm"
68db80e2 31 }
f527b6e4
RL
32 - ps: >-
33 If ($env:Configuration -Match "shared") {
441bcafd 34 $env:SHARED="no-makedepend"
e951eca8 35 } Else {
441bcafd 36 $env:SHARED="no-shared no-makedepend"
f527b6e4 37 }
b03de7a9 38 - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %VCVARS_PLATFORM%
14c42019
RL
39 - mkdir _build
40 - cd _build
fe9aa764 41 - perl ..\Configure %TARGET% %SHARED%
2da0130b 42 - perl configdata.pm --dump
14c42019 43 - cd ..
fd74aba8 44 - ps: >-
6356716a
AP
45 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
46 -or (&git log -2 | Select-String "\[extended tests\]") ) {
fd74aba8
AP
47 $env:EXTENDED_TESTS="yes"
48 }
68db80e2
AG
49
50build_script:
3de47fb2 51 - cd _build
fd74aba8
AP
52 - ps: >-
53 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
ad5c205c
AP
54 cmd /c "nmake build_all_generated 2>&1"
55 cmd /c "nmake PERL=no-perl 2>&1"
fd74aba8 56 }
3de47fb2 57 - cd ..
68db80e2
AG
58
59test_script:
3de47fb2 60 - cd _build
fd74aba8
AP
61 - ps: >-
62 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
fd74aba8 63 if ($env:EXTENDED_TESTS) {
799614fa 64 cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes 2>&1"
fd74aba8 65 } Else {
799614fa 66 cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes TESTS=-test_fuzz 2>&1"
fd74aba8 67 }
fd74aba8 68 }
3de47fb2
AP
69 - ps: >-
70 if ($env:EXTENDED_TESTS) {
71 mkdir ..\_install
986caf9e 72 cmd /c "nmake install DESTDIR=..\_install 2>&1"
3de47fb2
AP
73 }
74 - cd ..