Skip to content

Commit c315d63

Browse files
authored
Merge branch 'main' into sebros/updates
2 parents 3338ed2 + 5643540 commit c315d63

2 files changed

Lines changed: 14 additions & 11 deletions

File tree

build/prbenchmarks.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ extends:
7373
steps:
7474
- checkout: dotnet-crank
7575
path: crank
76+
workspaceRepo: true
7677
fetchDepth: 1
7778
displayName: Checkout dotnet-crank
78-
- powershell: dotnet build --framework net8.0 -c release $(Pipeline.Workspace)/crank/src/Microsoft.Crank.PullRequestBot/
79+
- powershell: dotnet build --framework net8.0 -c release src/Microsoft.Crank.PullRequestBot/
7980
displayName: Build PR benchmarks
8081
- checkout: self
8182
fetchDepth: 1
@@ -89,7 +90,7 @@ extends:
8990
scriptLocation: inlineScript
9091
inlineScript: |
9192
$buildUrl="$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"
92-
dotnet $(Pipeline.Workspace)/crank/artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
93+
dotnet artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
9394
--repository https://github.com/dotnet/aspnetcore `
9495
--config $(Pipeline.Workspace)/benchmarks/build/prbenchmarks.aspnetcore.config.yml `
9596
--app-id $(github.appid) `
@@ -109,7 +110,7 @@ extends:
109110
scriptLocation: inlineScript
110111
inlineScript: |
111112
$buildUrl="$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"
112-
dotnet $(Pipeline.Workspace)/crank/artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
113+
dotnet artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
113114
--repository https://github.com/dotnet/efcore `
114115
--config $(Pipeline.Workspace)/benchmarks/build/prbenchmarks.efcore.config.yml `
115116
--app-id $(github.appid) `
@@ -129,7 +130,7 @@ extends:
129130
scriptLocation: inlineScript
130131
inlineScript: |
131132
$buildUrl="$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"
132-
dotnet $(Pipeline.Workspace)/crank/artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
133+
dotnet artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
133134
--repository https://github.com/dotnet/runtime `
134135
--config $(Pipeline.Workspace)/benchmarks/build/prbenchmarks.runtime.windows_x64.config.yml `
135136
--app-id $(github.appid) `
@@ -150,7 +151,7 @@ extends:
150151
scriptLocation: inlineScript
151152
inlineScript: |
152153
$buildUrl="$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"
153-
dotnet $(Pipeline.Workspace)/crank/artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
154+
dotnet artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
154155
--repository https://github.com/dotnet/runtime `
155156
--config $(Pipeline.Workspace)/benchmarks/build/prbenchmarks.runtime.windows_arm64.config.yml `
156157
--app-id $(github.appid) `
@@ -173,9 +174,10 @@ extends:
173174
steps:
174175
- checkout: dotnet-crank
175176
path: crank
177+
workspaceRepo: true
176178
fetchDepth: 1
177179
displayName: Checkout dotnet-crank
178-
- powershell: dotnet build --framework net8.0 -c release $(Pipeline.Workspace)/crank/src/Microsoft.Crank.PullRequestBot/
180+
- powershell: dotnet build --framework net8.0 -c release src/Microsoft.Crank.PullRequestBot/
179181
displayName: Build PR benchmarks
180182
- checkout: self
181183
fetchDepth: 1
@@ -189,7 +191,7 @@ extends:
189191
scriptLocation: inlineScript
190192
inlineScript: |
191193
$buildUrl="$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"
192-
dotnet $(Pipeline.Workspace)/crank/artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
194+
dotnet artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
193195
--repository https://github.com/dotnet/runtime `
194196
--config $(Pipeline.Workspace)/benchmarks/build/prbenchmarks.runtime.linux_x64.config.yml `
195197
--app-id $(github.appid) `
@@ -209,7 +211,7 @@ extends:
209211
scriptLocation: inlineScript
210212
inlineScript: |
211213
$buildUrl="$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"
212-
dotnet $(Pipeline.Workspace)/crank/artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
214+
dotnet artifacts/bin/Microsoft.Crank.PullRequestBot/release/net8.0/crank-pr.dll `
213215
--repository https://github.com/dotnet/runtime `
214216
--config $(Pipeline.Workspace)/benchmarks/build/prbenchmarks.runtime.linux_arm64.config.yml `
215217
--app-id $(github.appid) `

build/regressionbot.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ extends:
5555
steps:
5656
- checkout: dotnet-crank
5757
path: crank
58+
workspaceRepo: true
5859
fetchDepth: 1
5960
displayName: Checkout dotnet-crank
60-
- powershell: dotnet build --framework net8.0 -c release $(Pipeline.Workspace)/crank/src/Microsoft.Crank.RegressionBot/
61+
- powershell: dotnet build --framework net8.0 -c release src/Microsoft.Crank.RegressionBot/
6162
displayName: Build regression bot
6263
- checkout: self
6364
fetchDepth: 1
@@ -69,7 +70,7 @@ extends:
6970
scriptType: ps
7071
scriptLocation: inlineScript
7172
inlineScript: |
72-
dotnet $(Pipeline.Workspace)/crank/artifacts/bin/Microsoft.Crank.RegressionBot/release/net8.0/Microsoft.Crank.RegressionBot.dll `
73+
dotnet artifacts/bin/Microsoft.Crank.RegressionBot/release/net8.0/Microsoft.Crank.RegressionBot.dll `
7374
--config $(Pipeline.Workspace)/benchmarks/build/regressions.config.yml `
7475
--connectionstring BENCHMARKSBOT_ConnectionString `
7576
--repository-id $(github.repositoryId) `
@@ -79,7 +80,7 @@ extends:
7980
--app-key BENCHMARKSBOT_GitHubAppKey `
8081
--verbose
8182
82-
dotnet $(Pipeline.Workspace)/crank/artifacts/bin/Microsoft.Crank.RegressionBot/release/net8.0/Microsoft.Crank.RegressionBot.dll `
83+
dotnet artifacts/bin/Microsoft.Crank.RegressionBot/release/net8.0/Microsoft.Crank.RegressionBot.dll `
8384
--config $(Pipeline.Workspace)/benchmarks/build/regressions.blazor.config.yml `
8485
--connectionstring BENCHMARKSBOT_ConnectionString `
8586
--repository-id $(github.repositoryId) `

0 commit comments

Comments
 (0)