16 If ($env:Platform -Match "x86") {
17 $env:VCVARS_PLATFORM="x86"
18 $env:TARGET="VC-WIN32 no-asm"
20 $env:VCVARS_PLATFORM="amd64"
21 $env:TARGET="VC-WIN64A-masm"
24 If ($env:Configuration -Match "shared") {
27 $env:SHARED="no-shared"
29 - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
30 - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
33 - perl ..\Configure %TARGET% %SHARED%
36 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
37 -or (&git log -2 | Select-String "\[extended tests\]") ) {
38 $env:EXTENDED_TESTS="yes"
44 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
52 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
53 if ($env:EXTENDED_TESTS) {
54 cmd /c "nmake test V=1 2>&1"
56 cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1"
60 if ($env:EXTENDED_TESTS) {
62 cmd /c "nmake install install_docs DESTDIR=..\_install 2>&1"