ci/windows: add back build-error detection

This was accidentally broken while refactoring the script.

Fixes: bf3c772e5e ("ci: Improve vs2019 mesa_build.ps1 for remove the need of cmd.exe")
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16965>
This commit is contained in:
Erik Faye-Lund 2022-06-08 18:07:43 +02:00 committed by Marge Bot
parent 3933752c7f
commit 003d052810
1 changed files with 7 additions and 2 deletions

View File

@ -45,8 +45,13 @@ meson --default-library=shared -Dzlib:default_library=static --buildtype=release
-Dbuild-tests=true -Dwerror=true -Dwarning_level=2 -Dzlib:warning_level=1 -Dlibelf:warning_level=1 `
$sourcedir
ninja install -j32
meson test --num-processes 32
if ($?) {
ninja install -j32
}
if ($?) {
meson test --num-processes 32
}
$buildstatus = $?
Pop-Location