| If ($env:Platform -Match "x86") { |
| $env:VCVARS_PLATFORM="x86" |
| $env:TARGET="VC-WIN32 no-asm" |
| $env:VCVARS_PLATFORM="amd64" |
| $env:TARGET="VC-WIN64A-masm" |
| If ($env:Configuration -Match "shared") { |
| - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS")) |
| - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM% |
| - perl ..\Configure %TARGET% %SHARED% |
| if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER` |
| -or (&git log -2 | Select-String "\[extended tests\]") ) { |
| $env:EXTENDED_TESTS="yes" |
| If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { |
| If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { |
| if ($env:EXTENDED_TESTS) { |
| cmd /c "nmake test V=1 2>&1" |
| cmd /c "nmake install install_docs DESTDIR=..\_install 2>&1" |
| cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1" |
| - openssl-commits@openssl.org |
| on_build_status_changed: true |