]> git.ipfire.org Git - thirdparty/openssl.git/blame - appveyor.yml
Add defines to indicate if intypes.h and stdint.h are unavailable
[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) {
ad5c205c
AP
46 cmd /c "nmake build_all_generated 2>&1"
47 cmd /c "nmake PERL=no-perl 2>&1"
fd74aba8 48 }
3de47fb2 49 - cd ..
68db80e2
AG
50
51test_script:
3de47fb2 52 - cd _build
fd74aba8
AP
53 - ps: >-
54 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
fd74aba8 55 if ($env:EXTENDED_TESTS) {
6356716a 56 cmd /c "nmake test V=1 2>&1"
fd74aba8 57 } Else {
6356716a 58 cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1"
fd74aba8 59 }
fd74aba8 60 }
3de47fb2
AP
61 - ps: >-
62 if ($env:EXTENDED_TESTS) {
63 mkdir ..\_install
986caf9e 64 cmd /c "nmake install DESTDIR=..\_install 2>&1"
3de47fb2
AP
65 }
66 - cd ..