17 If ($env:Platform -Match "x86") {
18 $env:VCVARS_PLATFORM="x86"
19 $env:TARGET="VC-WIN32 no-asm"
21 $env:VCVARS_PLATFORM="amd64"
22 $env:TARGET="VC-WIN64A-masm"
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"
30 $env:SHARED="no-shared no-makedepend"
32 - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
33 - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
36 - perl ..\Configure %TARGET% %SHARED%
37 - perl configdata.pm --dump
40 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
41 -or (&git log -2 | Select-String "\[extended tests\]") ) {
42 $env:EXTENDED_TESTS="yes"
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"
57 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
58 if ($env:EXTENDED_TESTS) {
59 cmd /c "nmake test V=1 2>&1"
61 cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1"
65 if ($env:EXTENDED_TESTS) {
67 cmd /c "nmake install DESTDIR=..\_install 2>&1"