16 If ($env:Platform -Match "x86") {
17 $env:VCVARS_PLATFORM="x86"
18 $env:TARGET="VC-WIN32 no-asm --strict-warnings"
20 $env:VCVARS_PLATFORM="amd64"
21 $env:TARGET="VC-WIN64A-masm"
24 If ($env:Configuration -Match "shared") {
25 $env:SHARED="no-makedepend"
27 $env:SHARED="no-shared no-makedepend"
29 - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
30 - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
33 - perl ..\Configure %TARGET% %SHARED%
34 - perl configdata.pm --dump
37 if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER`
38 -or (&git log -2 | Select-String "\[extended tests\]") ) {
39 $env:EXTENDED_TESTS="yes"
45 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
46 cmd /c "nmake build_all_generated 2>&1"
47 cmd /c "nmake PERL=no-perl 2>&1"
54 If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) {
55 if ($env:EXTENDED_TESTS) {
56 cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes 2>&1"
58 cmd /c "nmake test HARNESS_VERBOSE_FAILURE=yes TESTS=-test_fuzz 2>&1"
62 if ($env:EXTENDED_TESTS) {
64 cmd /c "nmake install DESTDIR=..\_install 2>&1"