From 00021fa702a236eb3d157fee0a62f3e89c0116cd Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Tue, 16 Jan 2024 11:08:03 -0800 Subject: [PATCH] [ci] Only enable CodeQL on Windows build job Enabling CodeQL on macOS seems to be occasionally causing issues with the Run Tests step: The argument -p:UseSharedCompilation=false is invalid. Please use the /help option to check the list of valid arguments. We can avoid this by only enabling CodeQL on the Windows build job. --- azure-pipelines.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index d0f314fb..2e38c67e 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -14,8 +14,6 @@ pr: variables: - name: DotNetCoreVersion value: 6.0.x - - name: Codeql.Enabled - value: True jobs: - job: build @@ -29,6 +27,7 @@ jobs: vmImage: macOS-12 windows: vmImage: windows-2022 + Codeql.Enabled: true pool: vmImage: $(vmImage)