Skip to content

Commit

Permalink
Disable CodeQL for OSX ARM64 (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoroz authored Nov 27, 2024
1 parent 8bf21b6 commit a150c53
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,15 @@ extends:

variables:
DotNetMoniker: net8.0
${{ if and( variables.DisableOsxArm64CodeQL, eq( MatrixEntry.TargetRuntime, 'osx-arm64' )) }}:
ONEES_ENFORCED_CODEQL_ENABLED: false

templateContext:
outputs:
- output: pipelineArtifact
pathtoPublish: $(Build.ArtifactStagingDirectory)
artifactName: ${{ MatrixEntry.TargetRuntime }}
targetPath: $(Build.StagingDirectory)/AOT/${{ MatrixEntry.TargetRuntime }}
variables:
${{ if and( variables.DisableOsxArm64CodeQL, eq( MatrixEntry.TargetRuntime, 'osx-arm64' )) }}:
Codeql.Enabled: false

pool: ${{ MatrixEntry.Pool }}

Expand Down Expand Up @@ -224,10 +223,9 @@ extends:
- job: test_${{ MatrixEntry.Name }}
displayName: Test ${{ MatrixEntry.TargetRuntime }} ${{ MatrixEntry.DotnetVersion }}

templateContext:
variables:
${{ if and( variables.DisableOsxArm64CodeQL, eq( MatrixEntry.TargetRuntime, 'osx-arm64' )) }}:
Codeql.Enabled: false
variables:
${{ if and( variables.DisableOsxArm64CodeQL, eq( MatrixEntry.TargetRuntime, 'osx-arm64' )) }}:
ONEES_ENFORCED_CODEQL_ENABLED: false

pool: ${{ MatrixEntry.Pool }}

Expand Down

0 comments on commit a150c53

Please sign in to comment.