Skip to content

Commit d23f852

Browse files
authored
Reduce jobs on sanitizer runs (#104115)
1 parent 31e6c11 commit d23f852

File tree

1 file changed

+1
-62
lines changed

1 file changed

+1
-62
lines changed

eng/pipelines/runtime-sanitized.yml

Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -50,70 +50,9 @@ extends:
5050
extraVariablesTemplates:
5151
- template: /eng/pipelines/common/templates/runtimes/test-variables.yml
5252
parameters:
53-
testGroup: outerloop
53+
testGroup: innerloop
5454
sanitizers: 'address'
5555

56-
#
57-
# Build the whole product with CoreCLR and run libraries tests with AddressSanitizer
58-
#
59-
- template: /eng/pipelines/common/platform-matrix.yml
60-
parameters:
61-
jobTemplate: /eng/pipelines/common/global-build-job.yml
62-
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
63-
buildConfig: Debug
64-
runtimeFlavor: coreclr
65-
platforms:
66-
- linux_x64_sanitizer
67-
- osx_x64
68-
variables:
69-
- name: _nativeSanitizersArg
70-
value: -fsanitize address
71-
jobParameters:
72-
testGroup: innerloop
73-
nameSuffix: CoreCLR_LibrariesTests
74-
buildArgs: -s clr+libs+libs.tests -c $(_BuildConfig) -rc Checked $(_nativeSanitizersArg) /p:ArchiveTests=true
75-
timeoutInMinutes: 180
76-
# extra steps, run tests
77-
postBuildSteps:
78-
- template: /eng/pipelines/libraries/helix.yml
79-
parameters:
80-
creator: dotnet-bot
81-
testRunNamePrefixSuffix: Libraries_$(_BuildConfig)
82-
scenarios:
83-
- normal
84-
85-
#
86-
# Build the whole product with CoreCLR and run libraries tests with AddressSanitizer
87-
#
88-
- template: /eng/pipelines/common/platform-matrix.yml
89-
parameters:
90-
jobTemplate: /eng/pipelines/common/global-build-job.yml
91-
buildConfig: Debug
92-
runtimeFlavor: coreclr
93-
platforms:
94-
- windows_x64
95-
variables:
96-
- name: _nativeSanitizersArg
97-
value: -fsanitize address
98-
jobParameters:
99-
testGroup: innerloop
100-
nameSuffix: CoreCLR_LibrariesTests
101-
buildArgs: -s clr+libs+libs.tests -c $(_BuildConfig) -rc Checked $(_nativeSanitizersArg) /p:ArchiveTests=true
102-
timeoutInMinutes: 360
103-
# Hard-code queues here as we don't want to run on pre Win-10 queues
104-
# and we don't want to overcompilcate helix-queues-setup.yml just for this case.
105-
helixQueues:
106-
- Windows.Amd64.Server2022.Open
107-
- Windows.11.Amd64.Client.Open
108-
# extra steps, run tests
109-
postBuildSteps:
110-
- template: /eng/pipelines/libraries/helix.yml
111-
parameters:
112-
creator: dotnet-bot
113-
testRunNamePrefixSuffix: Libraries_$(_BuildConfig)
114-
scenarios:
115-
- normal
116-
11756
#
11857
# NativeAOT release build and smoke tests with AddressSanitizer
11958
#

0 commit comments

Comments
 (0)