Skip to content

Commit b175674

Browse files
authored
[ci] Only enable CodeQL on Windows build job (#224)
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.
1 parent 2a2e64b commit b175674

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

azure-pipelines.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ parameters:
1818
variables:
1919
- name: DotNetCoreVersion
2020
value: 6.0.x
21-
- name: Codeql.Enabled
22-
value: True
2321

2422
jobs:
2523
- job: build
@@ -33,6 +31,7 @@ jobs:
3331
vmImage: macOS-12
3432
windows:
3533
vmImage: windows-2022
34+
Codeql.Enabled: true
3635

3736
pool:
3837
vmImage: $(vmImage)

0 commit comments

Comments
 (0)