forked from dotnet/dotnet-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dotnet-monitor-codeql.yml
83 lines (75 loc) · 2.65 KB
/
dotnet-monitor-codeql.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
variables:
- name: _TeamName
value: DotNetCore
# DotNet-Diagnostics-SDL-Params provides Tsa* variables for SDL checks.
- group: DotNet-Diagnostics-SDL-Params
trigger: none
schedules:
- cron: 0 12 * * 1-5
displayName: Weekday CodeQL/Semmle Run
branches:
include:
- main
always: true
stages:
- stage: Build
jobs:
- template: /eng/common/templates/jobs/codeql-build.yml
parameters:
jobs:
- job: Windows_Cpp
displayName: Windows (C++)
timeoutInMinutes: 90
pool:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Windows.10.Amd64.VS2019
steps:
- checkout: self
clean: true
- template: /eng/common/templates/steps/execute-codeql.yml
parameters:
executeAllSdlToolsScript: 'eng/common/sdl/execute-all-sdl-tools.ps1'
buildCommands: >-
$(Build.SourcesDirectory)/eng/cibuild.cmd
-configuration Release
language: cpp
additionalParameters: '-SourceToolsList @("semmle")
-TsaInstanceURL $(_TsaInstanceURL)
-TsaProjectName $(_TsaProjectName)
-TsaNotificationEmail $(_TsaNotificationEmail)
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
-TsaBugAreaPath $(_TsaBugAreaPath)
-TsaIterationPath $(_TsaIterationPath)
-TsaRepositoryName "dotnet-monitor"
-TsaCodebaseName "dotnet-monitor"
-TsaPublish $True'
- template: /eng/common/templates/jobs/codeql-build.yml
parameters:
jobs:
- job: Windows_CSharp
displayName: Windows (C#)
timeoutInMinutes: 90
pool:
name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Windows.10.Amd64.VS2019
steps:
- checkout: self
clean: true
- template: /eng/common/templates/steps/execute-codeql.yml
parameters:
executeAllSdlToolsScript: 'eng/common/sdl/execute-all-sdl-tools.ps1'
buildCommands: >-
$(Build.SourcesDirectory)/eng/cibuild.cmd
-configuration Release
-skipnative
language: csharp
additionalParameters: '-SourceToolsList @("semmle")
-TsaInstanceURL $(_TsaInstanceURL)
-TsaProjectName $(_TsaProjectName)
-TsaNotificationEmail $(_TsaNotificationEmail)
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
-TsaBugAreaPath $(_TsaBugAreaPath)
-TsaIterationPath $(_TsaIterationPath)
-TsaRepositoryName "dotnet-monitor"
-TsaCodebaseName "dotnet-monitor"
-TsaPublish $True'