8000 Reintroduce support for building VMR from repo PR/CI by NikolaMilosavljevic · Pull Request #548 · dotnet/dotnet · GitHub
[go: up one dir, main page]

Skip to content

Reintroduce support for building VMR from repo PR/CI #548

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

Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Merge branch 'main' into VmrVerificationTemplateChanges
  • Loading branch information
NikolaMilosavljevic authored May 14, 2025
commit c7a4a6fbf7f464e548db980dc12f2d40b8d12f68
6 changes: 6 additions & 0 deletions eng/pipelines/templates/stages/source-build-stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ parameters:
type: boolean
default: true

# Temporarily needed to enable SB PR legs from the unified build pipeline
# This parameter should be removed with https://github.com/dotnet/dotnet/pull/400
- name: officialBuildId
type: string
default: ''

stages:
- template: source-build-and-validate.yml
parameters:
Expand Down
15 changes: 12 additions & 3 deletions eng/pipelines/templates/stages/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,20 @@ stages:
scope: ${{ parameters.scope }}
useMicrosoftBuildAssetsForTests: false
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
# Pull requests aren't supported until https://github.com/dotnet/source-build/issues/5061 is fixed
- ${{ elseif ne(variables['Build.Reason'], 'PullRequest') }}:
- ${{ else }}:
- template: source-build-stages.yml
parameters:
pool_Linux: ${{ parameters.pool_Linux }}
pool_LinuxArm64: ${{ parameters.pool_LinuxArm64 }}
scope: ${{ parameters.scope }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
scope: ultralite
# Temporarily needed to enable SB PR legs from the unified build pipeline
# Remove with https://github.com/dotnet/dotnet/pull/400
officialBuildId: /p:OfficialBuildId=20991231.99
# For PR builds, we don't rely on Microsoft build assets for testing because not all of the required assets
# are available from the subset of jobs that get build in PRs compared to the full build. Instead, we run
# the tests in the same job as the build and filter out some of the tests that can't be executed in this state.
useMicrosoftBuildAssetsForTests: false
${{ else }}:
scope: ${{ parameters.scope }}
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.
0