Skip to content

Commit

Permalink
Merge branch 'user/dama/fixwrapper' of github.com:microsoft/moc-sdk-f…
Browse files Browse the repository at this point in the history
…or-go into user/dama/fixwrapper
  • Loading branch information
danmamsft committed Sep 13, 2024
2 parents 7967362 + 859556c commit 5691d0f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pipelines/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ jobs:
- script: |
sudo apt-get install gcc-mingw-w64
# Static binary workaround for CodeQL and Go 1.21 and higher
# https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/troubleshooting/onboarding/language-compiled
mkdir $AGENT_TEMPDIRECTORY/codeql-go-tracing
WORKAROUND_DIR=$AGENT_TEMPDIRECTORY/codeql-go-tracing
WHICH_GO=$(which go)
cat > "${WORKAROUND_DIR}/go" <<EOF
#!/bin/bash
exec $WHICH_GO "\$@"
EOF
chmod 755 "${WORKAROUND_DIR}/go"
export PATH="${WORKAROUND_DIR}:${PATH}"
mkdir manifest
make all
workingDirectory: '$(System.DefaultWorkingDirectory)'
Expand Down

0 comments on commit 5691d0f

Please sign in to comment.