ci/vs2019: Convert mesa_build.ps1 to using PowerShell 7 && operator
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16934>
This commit is contained in:
parent
47bce47736
commit
e3a7ccba57
|
@ -413,7 +413,7 @@ windows-vs2019:
|
|||
- .windows-build-rules
|
||||
stage: build-misc
|
||||
script:
|
||||
- . .\.gitlab-ci\windows\mesa_build.ps1
|
||||
- pwsh -ExecutionPolicy RemoteSigned .\.gitlab-ci\windows\mesa_build.ps1
|
||||
artifacts:
|
||||
paths:
|
||||
- _build/meson-logs/*.txt
|
||||
|
|
|
@ -59,15 +59,9 @@ meson `
|
|||
-Dwarning_level=2 `
|
||||
-Dzlib:warning_level=1 `
|
||||
-Dlibelf:warning_level=1 `
|
||||
$sourcedir
|
||||
|
||||
if ($?) {
|
||||
meson install --skip-subprojects
|
||||
}
|
||||
|
||||
if ($?) {
|
||||
meson test --num-processes 32
|
||||
}
|
||||
$sourcedir && `
|
||||
meson install --skip-subprojects && `
|
||||
meson test --num-processes 32
|
||||
|
||||
$buildstatus = $?
|
||||
Pop-Location
|
||||
|
|
Loading…
Reference in New Issue