Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable CodeQL for OSX ARM64 and remove debug logging #325

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,15 @@ jobs:

variables:
DotNetMoniker: net8.0
# Temporary variables to collect CodeQL info to debug OSX ARM64 build issue.
# They must be removed as soon as they not needed to save storage.
# Temporary disable CodeQL for OSX ARM64.
# It must be restored after CodeQL fixes the issue where they install x64 bits on OSX ARM64.
${{ if eq( matrixEntry.TargetRuntime, 'osx-arm64' ) }}:
Codeql.PublishDatabaseLog: true
Codeql.Cadence: 0
Codeql.Enabled: false
vmoroz marked this conversation as resolved.
Show resolved Hide resolved

pool:
vmImage: ${{ matrixEntry.VMImage }}

steps:
# To debug OSX ARM64 CodeQL build issue.
- script: csrutil status
displayName: System Integrity Protection status
condition: eq( '${{ matrixEntry.TargetRuntime }}', 'osx-arm64' )

- script: echo "Codeql.PublishDatabaseLog = ${{ variables['Codeql.PublishDatabaseLog'] }}; Codeql.Cadence = ${{ variables['Codeql.Cadence'] }}"
displayName: Print CodeQL debug info variable
condition: eq( '${{ matrixEntry.TargetRuntime }}', 'osx-arm64' )

- checkout: self
displayName: Deep git fetch for version generation
fetchDepth: 0 # Use deep fetch for the version calculation by Nerdbank.GitVersioning
Expand Down
Loading