-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
Copy pathruntime-codeql.yml
78 lines (73 loc) · 2.46 KB
/
runtime-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
trigger:
none
schedules:
- cron: 0 12 * * 1,4,6
# CodeQL auto-injects into other pipelines and will do a scan if one hasn't
# been done in 72 hours. These can cause timeouts, so we ensure that one has
# already been performed. We can increase this to 4x/week or be more
# sophisticated if the 72 hour period ending Thursday ("4" in the cron line)
# causes a problem.
displayName: 3x/week CodeQL/Semmle run
branches:
include:
- main
always: true
variables:
- template: /eng/pipelines/common/variables.yml
- name: Codeql.Cadence
value: 0
- name: Codeql.TSAEnabled
value: True
- name: Codeql.BuildIdentifier
value: $(System.JobDisplayName)
- name: Codeql.Language
value: cpp,csharp,java,python
extends:
template: /eng/pipelines/common/templates/pipeline-with-resources.yml
parameters:
stages:
- stage: Build
jobs:
#
# Build CoreCLR runtime packs
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
buildConfig: release
platforms:
- linux_x64
- windows_x64
jobParameters:
buildArgs: -s clr+libs+host+packs -c $(_BuildConfig)
nameSuffix: AllSubsets_CoreCLR
isOfficialBuild: ${{ variables.isOfficialBuild }}
timeoutInMinutes: 360
preBuildSteps:
- task: CodeQL3000Init@0
displayName: Initialize CodeQL (manually-injected)
postBuildSteps:
- task: CodeQL3000Finalize@0
displayName: Finalize CodeQL (manually-injected)
#
# Build Mono runtime packs
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
buildConfig: release
runtimeFlavor: mono
platforms:
- linux_x64
- windows_x64
jobParameters:
buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)
nameSuffix: AllSubsets_Mono
isOfficialBuild: ${{ variables.isOfficialBuild }}
timeoutInMinutes: 360
preBuildSteps:
- task: CodeQL3000Init@0
displayName: Initialize CodeQL (manually-injected)
postBuildSteps:
- task: CodeQL3000Finalize@0
displayName: Finalize CodeQL (manually-injected)