Skip to content

Commit 41bcaa9

Browse files
authored
Enable SB stage 2 builds in PR validation (#45865)
1 parent 0a48572 commit 41bcaa9

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

eng/pipelines/templates/stages/vmr-build.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -103,30 +103,29 @@ stages:
103103
useMonoRuntime: false # 🚫
104104
withPreviousSDK: false # 🚫
105105

106+
- template: ../jobs/vmr-build.yml
107+
parameters:
108+
buildName: ${{ format('{0}_Offline_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
109+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
110+
vmrBranch: ${{ variables.VmrBranch }}
111+
targetArchitecture: x64
112+
pool: ${{ parameters.pool_Linux }}
113+
container:
114+
name: ${{ variables.centOSStreamContainerName }}
115+
image: ${{ variables.centOSStreamContainerImage }}
116+
buildFromArchive: false # 🚫
117+
buildSourceOnly: true #
118+
enablePoison: false # 🚫
119+
excludeOmniSharpTests: true #
120+
runOnline: false # 🚫
121+
useMonoRuntime: false # 🚫
122+
withPreviousSDK: false # 🚫
123+
reuseBuildArtifactsFrom:
124+
- ${{ format('{0}_Online_MsftSdk_x64', variables.centOSStreamName) }}
125+
106126
### Additional jobs for lite/full builds ###
107127
- ${{ if in(parameters.scope, 'lite', 'full') }}:
108128

109-
- template: ../jobs/vmr-build.yml
110-
parameters:
111-
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
112-
buildName: ${{ format('{0}_Online_CurrentSourceBuiltSdk', variables.centOSStreamName) }}
113-
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
114-
vmrBranch: ${{ variables.VmrBranch }}
115-
targetArchitecture: x64
116-
pool: ${{ parameters.pool_Linux }}
117-
container:
118-
name: ${{ variables.centOSStreamContainerName }}
119-
image: ${{ variables.centOSStreamContainerImage }}
120-
buildFromArchive: false # 🚫
121-
buildSourceOnly: true #
122-
enablePoison: false # 🚫
123-
excludeOmniSharpTests: true #
124-
runOnline: true #
125-
useMonoRuntime: false # 🚫
126-
withPreviousSDK: false # 🚫
127-
reuseBuildArtifactsFrom:
128-
- ${{ format('{0}_Online_MsftSdk_x64', variables.centOSStreamName) }}
129-
130129
# Disabled due to https://github.com/dotnet/source-build/issues/4819
131130
# - template: ../jobs/vmr-build.yml
132131
# parameters:

0 commit comments

Comments
 (0)