]> git.ipfire.org Git - thirdparty/openssl.git/blob - appveyor.yml
Fix type name typo in d2i/i2d documentation.
[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 - minimal
14
15 before_build:
16 - ps: >-
17 If ($env:Platform -Match "x86") {
18 $env:VCVARS_PLATFORM="x86"
19 $env:TARGET="VC-WIN32 no-asm --strict-warnings"
20 } Else {
21 $env:VCVARS_PLATFORM="amd64"
22 $env:TARGET="VC-WIN64A-masm"
23 }
24 - ps: >-
25 If ($env:Configuration -Match "shared") {
26 $env:SHARED="no-makedepend"
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"
29 } Else {
30 $env:SHARED="no-shared no-makedepend"
31 }
32 - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
33 - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
34 - mkdir _build
35 - cd _build
36 - perl ..\Configure %TARGET% %SHARED%
37 - perl configdata.pm --dump
38 - cd ..
39 - ps: >-
40 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
41 -or (&git log -2 | Select-String "\[extended tests\]") ) {
42 $env:EXTENDED_TESTS="yes"
43 }
44
45 build_script:
46 - cd _build
47 - ps: >-
48 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
49 cmd /c "nmake build_all_generated 2>&1"
50 cmd /c "nmake PERL=no-perl 2>&1"
51 }
52 - cd ..
53
54 test_script:
55 - cd _build
56 - ps: >-
57 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
58 if ($env:EXTENDED_TESTS) {
59 cmd /c "nmake test V=1 2>&1"
60 } Else {
61 cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1"
62 }
63 }
64 - ps: >-
65 if ($env:EXTENDED_TESTS) {
66 mkdir ..\_install
67 cmd /c "nmake install DESTDIR=..\_install 2>&1"
68 }
69 - cd ..