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:
@@ -413,7 +413,7 @@ windows-vs2019:
|
|||||||
- .windows-build-rules
|
- .windows-build-rules
|
||||||
stage: build-misc
|
stage: build-misc
|
||||||
script:
|
script:
|
||||||
- . .\.gitlab-ci\windows\mesa_build.ps1
|
- pwsh -ExecutionPolicy RemoteSigned .\.gitlab-ci\windows\mesa_build.ps1
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- _build/meson-logs/*.txt
|
- _build/meson-logs/*.txt
|
||||||
|
@@ -59,15 +59,9 @@ meson `
|
|||||||
-Dwarning_level=2 `
|
-Dwarning_level=2 `
|
||||||
-Dzlib:warning_level=1 `
|
-Dzlib:warning_level=1 `
|
||||||
-Dlibelf:warning_level=1 `
|
-Dlibelf:warning_level=1 `
|
||||||
$sourcedir
|
$sourcedir && `
|
||||||
|
meson install --skip-subprojects && `
|
||||||
if ($?) {
|
meson test --num-processes 32
|
||||||
meson install --skip-subprojects
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($?) {
|
|
||||||
meson test --num-processes 32
|
|
||||||
}
|
|
||||||
|
|
||||||
$buildstatus = $?
|
$buildstatus = $?
|
||||||
Pop-Location
|
Pop-Location
|
||||||
|
Reference in New Issue
Block a user