authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-22 15:59:06-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-22 15:59:06-04:00
log65b495af58bcd010b997d9036ee39808451ef76c
treefdd3f790c4afa9bad132e5077da6ba809e05b643
parent1d6d6d522877243772550edfb0df12c21ed63376
signature Commit is signed but in an unrecognized format.

windows CI: use MinSizeRel to work around MSVC bug

See #3024

1 files changed, 3 insertions(+), 2 deletions(-)

ci/azure/windows_script.bat+3-2
......@@ -17,8 +17,9 @@ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliar
1717
1818mkdir %ZIGBUILDDIR%
1919cd %ZIGBUILDDIR%
20cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=Release || exit /b
21msbuild /p:Configuration=Release INSTALL.vcxproj || exit /b
20REM Here we use MinSizeRel instead of Release to work around https://github.com/ziglang/zig/issues/3024
21cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=MinSizeRel || exit /b
22msbuild /p:Configuration=MinSizeRel INSTALL.vcxproj || exit /b
2223
2324"%ZIGINSTALLDIR%\bin\zig.exe" build test || exit /b
2425