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

Enable SB stage 2 builds in PR validation #45865

Merged
merged 3 commits into from
Jan 10, 2025
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
41 changes: 20 additions & 21 deletions eng/pipelines/templates/stages/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,30 +103,29 @@ stages:
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫

- template: ../jobs/vmr-build.yml
parameters:
buildName: ${{ format('{0}_Offline_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
targetArchitecture: x64
pool: ${{ parameters.pool_Linux }}
container:
name: ${{ variables.centOSStreamContainerName }}
image: ${{ variables.centOSStreamContainerImage }}
buildFromArchive: false # 🚫
buildSourceOnly: true # ✅
enablePoison: false # 🚫
excludeOmniSharpTests: true # ✅
runOnline: false # 🚫
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫
reuseBuildArtifactsFrom:
- ${{ format('{0}_Online_MsftSdk_x64', variables.centOSStreamName) }}

### Additional jobs for lite/full builds ###
- ${{ if in(parameters.scope, 'lite', 'full') }}:

- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Online_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
targetArchitecture: x64
pool: ${{ parameters.pool_Linux }}
container:
name: ${{ variables.centOSStreamContainerName }}
image: ${{ variables.centOSStreamContainerImage }}
buildFromArchive: false # 🚫
buildSourceOnly: true # ✅
enablePoison: false # 🚫
excludeOmniSharpTests: true # ✅
runOnline: true # ✅
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫
reuseBuildArtifactsFrom:
- ${{ format('{0}_Online_MsftSdk_x64', variables.centOSStreamName) }}

# Disabled due to https://github.com/dotnet/source-build/issues/4819
# - template: ../jobs/vmr-build.yml
# parameters:
Expand Down
Loading