Skip to content

Commit

Permalink
Fix libraries outerloop pipelines
Browse files Browse the repository at this point in the history
Fixes #76755
  • Loading branch information
ViktorHofer authored Dec 14, 2022
1 parent 8e15d9f commit 0a66057
Showing 1 changed file with 36 additions and 44 deletions.
80 changes: 36 additions & 44 deletions eng/pipelines/libraries/outerloop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,10 @@ extends:
- stage: Build
jobs:

#
# CoreCLR Build
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml
buildConfig: release
platforms:
- ${{ if eq(variables['includeWindowsOuterloop'], true) }}:
- windows_x64
- windows_x86
- ${{ if eq(variables['includeLinuxOuterloop'], true) }}:
- Linux_x64
- Linux_musl_x64
- ${{ if eq(variables['isRollingBuild'], true) }}:
- Linux_arm
- Linux_arm64
- Linux_musl_arm64
- ${{ if eq(variables['includeOsxOuterloop'], true) }}:
- OSX_arm64
- OSX_x64
jobParameters:
testGroup: innerloop
#
# Libraries Build
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/libraries/build-job.yml
jobTemplate: /eng/pipelines/common/global-build-job.yml
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
buildConfig: Release
platforms:
- ${{ if eq(variables['includeWindowsOuterloop'], true) }}:
Expand All @@ -63,18 +38,24 @@ extends:
- ${{ if and(eq(variables['includeOsxOuterloop'], true), eq(variables['isRollingBuild'], true)) }}:
- OSX_arm64
- OSX_x64
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
jobParameters:
isOfficialBuild: ${{ variables['isOfficialBuild'] }}
includeAllPlatforms: ${{ variables['isRollingBuild'] }}
runTests: true
testScope: outerloop
liveRuntimeBuildConfig: release
nameSuffix: AllSubsets_CoreCLR
buildArgs: -s clr+host.native+libs+libs.tests -lc $(_BuildConfig) -hc $(_BuildConfig) -rc Release -testscope outerloop /p:ArchiveTests=true -f net48
timeoutInMinutes: 180
includeAllPlatforms: ${{ variables['isRollingBuild'] }}
# extra steps, run tests
extraStepsTemplate: /eng/pipelines/libraries/helix.yml
extraStepsParameters:
testScope: outerloop
creator: dotnet-bot
testRunNamePrefixSuffix: CoreCLR_$(_BuildConfig)

- ${{ if eq(variables['isRollingBuild'], false) }}:
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/libraries/build-job.yml
jobTemplate: /eng/pipelines/common/global-build-job.yml
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
buildConfig: Debug
platforms:
- ${{ if eq(variables['includeWindowsOuterloop'], true) }}:
Expand All @@ -85,27 +66,38 @@ extends:
- ${{ if eq(variables['includeOsxOuterloop'], true) }}:
- OSX_arm64
- OSX_x64
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
jobParameters:
isOfficialBuild: ${{ variables['isOfficialBuild'] }}
includeAllPlatforms: ${{ variables['isRollingBuild'] }}
runTests: true
testScope: outerloop
liveRuntimeBuildConfig: release
nameSuffix: AllSubsets_CoreCLR
buildArgs: -s clr+host.native+libs+libs.tests -lc $(_BuildConfig) -hc $(_BuildConfig) -rc Release -testscope outerloop /p:ArchiveTests=true -f net48
timeoutInMinutes: 180
includeAllPlatforms: ${{ variables['isRollingBuild'] }}
# extra steps, run tests
extraStepsTemplate: /eng/pipelines/libraries/helix.yml
extraStepsParameters:
testScope: outerloop
creator: dotnet-bot
testRunNamePrefixSuffix: CoreCLR_$(_BuildConfig)

- ${{ if eq(variables['includeWindowsOuterloop'], true) }}:
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/libraries/build-job.yml
jobTemplate: /eng/pipelines/common/global-build-job.yml
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
buildConfig: Release
platforms:
- windows_x86
- ${{ if eq(variables['isRollingBuild'], true) }}:
- windows_x64
helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml
jobParameters:
isOfficialBuild: ${{ variables['isOfficialBuild'] }}
includeAllPlatforms: ${{ variables['isRollingBuild'] }}
framework: net48
runTests: true
testScope: outerloop
nameSuffix: AllSubsets_CoreCLR
buildArgs: -s libs+libs.tests -c $(_BuildConfig) -testscope outerloop /p:ArchiveTests=true -f net48
timeoutInMinutes: 180
includeAllPlatforms: ${{ variables['isRollingBuild'] }}
# extra steps, run tests
extraStepsTemplate: /eng/pipelines/libraries/helix.yml
extraStepsParameters:
testScope: outerloop
creator: dotnet-bot
testRunNamePrefixSuffix: NET48_$(_BuildConfig)

0 comments on commit 0a66057

Please sign in to comment.