diff --git a/eng/pipeline/steps/install-gopdb.yml b/eng/pipeline/steps/install-gopdb.yml index 75952de51c..e693ff83ee 100644 --- a/eng/pipeline/steps/install-gopdb.yml +++ b/eng/pipeline/steps/install-gopdb.yml @@ -28,6 +28,12 @@ steps: . eng/utilities.ps1 Download-Stage0 # Make sure we have a Go toolchain available cd go-pdb + + # Ensure we don't cross-compile. gopdb needs to run on the current machine. + $env:GOOS = '' + $env:GOARCH = '' + $env:GOARM = '' + & go build -o $(pdbPath)/gopdb.exe ./cmd/gopdb displayName: Install gopdb