]> git.ipfire.org Git - thirdparty/openssl.git/blame - appveyor.yml
Update SSL_CTX_sess_set_new_cb(3) docs for refcounts
[thirdparty/openssl.git] / appveyor.yml
CommitLineData
68db80e2 1platform:
68db80e2 2 - x64
fd74aba8 3 - x86
68db80e2
AG
4
5environment:
fd74aba8 6 fast_finish: true
68db80e2 7 matrix:
68db80e2
AG
8 - VSVER: 14
9
10configuration:
68db80e2 11 - shared
fd74aba8 12 - plain
8ff728d4 13 - minimal
68db80e2 14
68db80e2
AG
15before_build:
16 - ps: >-
17 If ($env:Platform -Match "x86") {
18 $env:VCVARS_PLATFORM="x86"
53a5e9b5 19 $env:TARGET="VC-WIN32 no-asm --strict-warnings"
68db80e2
AG
20 } Else {
21 $env:VCVARS_PLATFORM="amd64"
fe9aa764 22 $env:TARGET="VC-WIN64A-masm"
68db80e2 23 }
f527b6e4
RL
24 - ps: >-
25 If ($env:Configuration -Match "shared") {
441bcafd 26 $env:SHARED="no-makedepend"
8ff728d4
BE
27 } ElseIf ($env:Configuration -Match "minimal") {
28 $env:SHARED="no-shared no-dso no-makedepend no-autoload-config no-engine no-comp no-cms no-dh no-dsa no-ec2m no-srp no-des no-mdc2 no-md4 no-rc2 no-rc4 no-bf no-camellia no-cast no-idea no-seed no-whirlpool no-ocsp no-sm2 no-sm3 no-sm4 no-ssl3 no-ssl3-method no-psk no-heartbeats no-nextprotoneg no-sctp no-srtp no-asm -DOPENSSL_SMALL_FOOTPRINT"
e951eca8 29 } Else {
441bcafd 30 $env:SHARED="no-shared no-makedepend"
f527b6e4 31 }
68db80e2
AG
32 - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
33 - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
14c42019
RL
34 - mkdir _build
35 - cd _build
fe9aa764 36 - perl ..\Configure %TARGET% %SHARED%
2da0130b 37 - perl configdata.pm --dump
14c42019 38 - cd ..
fd74aba8 39 - ps: >-
6356716a
AP
40 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
41 -or (&git log -2 | Select-String "\[extended tests\]") ) {
fd74aba8
AP
42 $env:EXTENDED_TESTS="yes"
43 }
68db80e2
AG
44
45build_script:
3de47fb2 46 - cd _build
fd74aba8
AP
47 - ps: >-
48 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
ad5c205c
AP
49 cmd /c "nmake build_all_generated 2>&1"
50 cmd /c "nmake PERL=no-perl 2>&1"
fd74aba8 51 }
3de47fb2 52 - cd ..
68db80e2
AG
53
54test_script:
3de47fb2 55 - cd _build
fd74aba8
AP
56 - ps: >-
57 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
fd74aba8 58 if ($env:EXTENDED_TESTS) {
6356716a 59 cmd /c "nmake test V=1 2>&1"
fd74aba8 60 } Else {
6356716a 61 cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1"
fd74aba8 62 }
fd74aba8 63 }
3de47fb2
AP
64 - ps: >-
65 if ($env:EXTENDED_TESTS) {
66 mkdir ..\_install
986caf9e 67 cmd /c "nmake install DESTDIR=..\_install 2>&1"
3de47fb2
AP
68 }
69 - cd ..