Skip to content

Commit d2a4f30

Browse files
committed
NFCI: use a specific build to run and publish PGO
1 parent cfdfc6c commit d2a4f30

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

build/pgo/Terminal.PGO.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<PropertyGroup>
1111
<!-- Optional, defaults to main. Name of the branch which will be used for calculating branch point. -->
12-
<PGOBranch>main</PGOBranch>
12+
<PGOBranch>TEST_NO_COLLISION_BRANCH</PGOBranch>
1313

1414
<!-- Mandatory. Name of the NuGet package which will contain PGO databases for consumption by build system. -->
1515
<PGOPackageName>Microsoft.Internal.Windows.Terminal.PGODatabase</PGOPackageName>

build/pipelines/templates-v2/job-pgo-build-nuget-and-publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ jobs:
4040
inputs:
4141
artifact: pgd-merged-${{ parameters.buildConfiguration }}${{ parameters.artifactStem }}
4242
downloadPath: $(artifactsPath)
43+
buildType: specific
44+
runVersion: specific
45+
project: Dart
46+
pipeline: 71496
47+
runId: 138504234
48+
allowPartiallySucceededBuilds: true
49+
allowFailedBuilds: true
50+
4351

4452
- template: steps-ensure-nuget-version.yml
4553

build/pipelines/templates-v2/job-run-pgo-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ jobs:
3636
inputs:
3737
artifactName: build-${{ parameters.buildPlatform }}-$(BuildConfiguration)${{ parameters.artifactStem }}
3838
downloadPath: $(Terminal.BinDir)
39+
buildType: specific
40+
runVersion: specific
41+
project: Dart
42+
pipeline: 71496
43+
runId: 138504234
44+
allowPartiallySucceededBuilds: true
45+
allowFailedBuilds: true
3946

4047
# The tests expect Terminal to be an unpackaged distribution named terminal-0.0.1.0 (after the dev build version scheme)
4148
# Extract to that folder explicitly and strip the embedded folder name from the unpackaged archive.

0 commit comments

Comments
 (0)