Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 436bd3e

Browse files
authored
[ci] Enable CodeQL static analysis. (#1409)
1 parent 6f1e384 commit 436bd3e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.ci/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,23 @@ jobs:
6363
linux:
6464
poolName: ${{ parameters.linuxAgentPoolName }}
6565
imageName: ${{ parameters.linuxImage }}
66+
runCodeQL: false
6667
${{ if ne(parameters.macosImage, '') }}:
6768
macos:
6869
poolName: ${{ parameters.macosAgentPoolName }}
6970
imageName: ${{ parameters.macosImage }}
71+
runCodeQL: false
7072
${{ if ne(parameters.windowsImage, '') }}:
7173
windows:
7274
poolName: ${{ parameters.windowsAgentPoolName }}
7375
imageName: ${{ parameters.windowsImage }}
76+
runCodeQL: true
7477
displayName: ${{ parameters.displayName }}
7578
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
7679
continueOnError: ${{ eq(parameters.continueOnError, 'true') }}
7780
dependsOn: ${{ parameters.dependsOn }}
81+
variables:
82+
Codeql.Enabled: $(runCodeQL)
7883
pool:
7984
name: $(poolName)
8085
vmImage: $(imageName)

0 commit comments

Comments
 (0)