]> git.ipfire.org Git - thirdparty/openssl.git/blame - appveyor.yml
Duplicate entries ssl_handshake_tbl trace entries...
[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
68db80e2 13
68db80e2
AG
14before_build:
15 - ps: >-
16 If ($env:Platform -Match "x86") {
17 $env:VCVARS_PLATFORM="x86"
fe9aa764 18 $env:TARGET="VC-WIN32 no-asm"
68db80e2
AG
19 } Else {
20 $env:VCVARS_PLATFORM="amd64"
fe9aa764 21 $env:TARGET="VC-WIN64A-masm"
68db80e2 22 }
f527b6e4
RL
23 - ps: >-
24 If ($env:Configuration -Match "shared") {
441bcafd 25 $env:SHARED="no-makedepend"
e951eca8 26 } Else {
441bcafd 27 $env:SHARED="no-shared no-makedepend"
f527b6e4 28 }
68db80e2
AG
29 - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
30 - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
14c42019
RL
31 - mkdir _build
32 - cd _build
fe9aa764 33 - perl ..\Configure %TARGET% %SHARED%
2da0130b 34 - perl configdata.pm --dump
14c42019 35 - cd ..
fd74aba8 36 - ps: >-
6356716a
AP
37 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
38 -or (&git log -2 | Select-String "\[extended tests\]") ) {
fd74aba8
AP
39 $env:EXTENDED_TESTS="yes"
40 }
68db80e2
AG
41
42build_script:
3de47fb2 43 - cd _build
fd74aba8
AP
44 - ps: >-
45 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
6356716a 46 cmd /c "nmake 2>&1"
fd74aba8 47 }
3de47fb2 48 - cd ..
68db80e2
AG
49
50test_script:
3de47fb2 51 - cd _build
fd74aba8
AP
52 - ps: >-
53 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
fd74aba8 54 if ($env:EXTENDED_TESTS) {
6356716a 55 cmd /c "nmake test V=1 2>&1"
fd74aba8 56 } Else {
6356716a 57 cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1"
fd74aba8 58 }
fd74aba8 59 }
3de47fb2
AP
60 - ps: >-
61 if ($env:EXTENDED_TESTS) {
62 mkdir ..\_install
63 cmd /c "nmake install install_docs DESTDIR=..\_install 2>&1"
64 }
65 - cd ..