diff --git a/eng/pipeline/stages/run-stage.yml b/eng/pipeline/stages/run-stage.yml index 8aea3afb23..0dbb326583 100644 --- a/eng/pipeline/stages/run-stage.yml +++ b/eng/pipeline/stages/run-stage.yml @@ -230,10 +230,16 @@ stages: - pwsh: | eng/run.ps1 go run github.com/microsoft/go-infra/cmd/getmingw diagnose if ('${{ parameters.builder.arch }}' -eq '386') { - eng/run.ps1 go run github.com/microsoft/go-infra/cmd/getmingw run -ci azdo -source nixman -version 13.2.0-rt_v11-rev0 -arch i686 -threading posix -exception dwarf -runtime msvcrt + $arch = 'i686' + $exception = 'dwarf' } else { - eng/run.ps1 go run github.com/microsoft/go-infra/cmd/getmingw run -ci azdo -source nixman -version 13.2.0-rt_v11-rev0 -arch x86_64 -threading posix -exception seh -runtime msvcrt + $arch = 'x86_64' + $exception = 'seh' } + eng/run.ps1 go run github.com/microsoft/go-infra/cmd/getmingw run ` + -ci azdo ` + -source nixman -version 13.2.0-rt_v11-rev0 ` + -arch $arch -threading posix -exception $exception -runtime msvcrt displayName: Install MinGW # Build. This includes retry logic internally if necessary for this builder.