Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce jobs on sanitizer runs #104115

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 1 addition & 62 deletions eng/pipelines/runtime-sanitized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,70 +50,9 @@ extends:
extraVariablesTemplates:
- template: /eng/pipelines/common/templates/runtimes/test-variables.yml
parameters:
testGroup: outerloop
testGroup: innerloop
sanitizers: 'address'

#
# Build the whole product with CoreCLR and run libraries tests with AddressSanitizer
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
buildConfig: Debug
runtimeFlavor: coreclr
platforms:
- linux_x64_sanitizer
- osx_x64
variables:
- name: _nativeSanitizersArg
value: -fsanitize address
jobParameters:
testGroup: innerloop
nameSuffix: CoreCLR_LibrariesTests
buildArgs: -s clr+libs+libs.tests -c $(_BuildConfig) -rc Checked $(_nativeSanitizersArg) /p:ArchiveTests=true
timeoutInMinutes: 180
# extra steps, run tests
postBuildSteps:
- template: /eng/pipelines/libraries/helix.yml
parameters:
creator: dotnet-bot
testRunNamePrefixSuffix: Libraries_$(_BuildConfig)
scenarios:
- normal

#
# Build the whole product with CoreCLR and run libraries tests with AddressSanitizer
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
buildConfig: Debug
runtimeFlavor: coreclr
platforms:
- windows_x64
variables:
- name: _nativeSanitizersArg
value: -fsanitize address
jobParameters:
testGroup: innerloop
nameSuffix: CoreCLR_LibrariesTests
buildArgs: -s clr+libs+libs.tests -c $(_BuildConfig) -rc Checked $(_nativeSanitizersArg) /p:ArchiveTests=true
timeoutInMinutes: 360
# Hard-code queues here as we don't want to run on pre Win-10 queues
# and we don't want to overcompilcate helix-queues-setup.yml just for this case.
helixQueues:
- Windows.Amd64.Server2022.Open
- Windows.11.Amd64.Client.Open
# extra steps, run tests
postBuildSteps:
- template: /eng/pipelines/libraries/helix.yml
parameters:
creator: dotnet-bot
testRunNamePrefixSuffix: Libraries_$(_BuildConfig)
scenarios:
- normal

#
# NativeAOT release build and smoke tests with AddressSanitizer
#
Expand Down
Loading