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>
(cherry picked from commit 003d052810)
This commit is contained in:
Erik Faye-Lund 2022-06-08 18:07:43 +02:00 committed by Dylan Baker
parent c4f770308f
commit e4da9d8254
2 changed files with 8 additions and 3 deletions

View file

@ -40,8 +40,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

View file

@ -679,7 +679,7 @@
"description": "ci/windows: add back build-error detection",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "bf3c772e5e5854d60dcddceb29a6849701423320"
},