diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-09-22 15:59:06 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-09-22 15:59:06 -0400 |
| commit | 65b495af58bcd010b997d9036ee39808451ef76c (patch) | |
| tree | fdd3f790c4afa9bad132e5077da6ba809e05b643 /ci | |
| parent | 1d6d6d522877243772550edfb0df12c21ed63376 (diff) | |
| download | zig-65b495af58bcd010b997d9036ee39808451ef76c.tar.gz zig-65b495af58bcd010b997d9036ee39808451ef76c.zip | |
windows CI: use MinSizeRel to work around MSVC bug
See #3024
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/azure/windows_script.bat | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/azure/windows_script.bat b/ci/azure/windows_script.bat index ee6016a345..f1a69202e0 100644 --- a/ci/azure/windows_script.bat +++ b/ci/azure/windows_script.bat @@ -17,8 +17,9 @@ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliar mkdir %ZIGBUILDDIR% cd %ZIGBUILDDIR% -cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=Release || exit /b -msbuild /p:Configuration=Release INSTALL.vcxproj || exit /b +REM Here we use MinSizeRel instead of Release to work around https://github.com/ziglang/zig/issues/3024 +cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=MinSizeRel || exit /b +msbuild /p:Configuration=MinSizeRel INSTALL.vcxproj || exit /b "%ZIGINSTALLDIR%\bin\zig.exe" build test || exit /b |
