20 message: /\[extended tests\]/
40 Install-Module VSSetup -Scope CurrentUser
42 Get-VSSetupInstance -All
44 If ($env:Platform -Match "x86") {
45 $env:VCVARS_PLATFORM="x86"
46 $env:TARGET="VC-WIN32 no-asm --strict-warnings"
48 $env:VCVARS_PLATFORM="amd64"
49 $env:TARGET="VC-WIN64A-masm"
52 If ($env:Configuration -Match "shared") {
54 } ElseIf ($env:Configuration -Match "minimal") {
55 $env:CONFIG_OPTS="no-bulk no-asm -DOPENSSL_SMALL_FOOTPRINT"
57 $env:CONFIG_OPTS="no-shared"
59 - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %VCVARS_PLATFORM%
62 - perl ..\Configure %TARGET% no-makedepend %CONFIG_OPTS%
63 - perl configdata.pm --dump
66 If ($env:BUILDONLY -or $env:MAKEVERBOSE) {
72 gci env:* | sort-object name
76 - "%NMAKE% build_all_generated"
77 - "%NMAKE% PERL=no-perl"
83 if ($env:EXTENDED_TESTS) {
84 cmd /c "%NMAKE% test VERBOSE_FAILURE=yes 2>&1"
86 cmd /c "%NMAKE% test VERBOSE_FAILURE=yes TESTS=-test_fuzz 2>&1"
89 if ($env:EXTENDED_TESTS) {
91 cmd /c "%NMAKE% install DESTDIR=..\_install 2>&1"