Skip to content

Commit 500282a

Browse files
authored
Fix TFM in prbenchmarks.yml and increase frequency a bit (#1938)
1 parent f15b655 commit 500282a

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

build/prbenchmarks.yml

+18-12
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,20 @@ schedules:
1010
include:
1111
- main
1212
always: "true" # whether to always run the pipeline or only if there have been source code changes since the last successful scheduled run. The default is false.
13-
- cron: "20 * * * *"
14-
displayName: "On :10"
13+
- cron: "15 * * * *"
14+
displayName: "On :15"
1515
branches:
1616
include:
1717
- main
1818
always: "true"
19-
- cron: "40 * * * *"
20-
displayName: "On :20"
19+
- cron: "30 * * * *"
20+
displayName: "On :30"
21+
branches:
22+
include:
23+
- main
24+
always: "true"
25+
- cron: "45 * * * *"
26+
displayName: "On :45"
2127
branches:
2228
include:
2329
- main
@@ -36,11 +42,11 @@ jobs:
3642
cd .\crank\src\Microsoft.Crank.PullRequestBot
3743
git pull
3844
git rev-parse HEAD
39-
dotnet build -c release --framework net7.0
45+
dotnet build -c release --framework net8.0
4046
4147
$buildUrl="$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"
4248
43-
dotnet run --no-build --framework net7.0 -c release `
49+
dotnet run --no-build --framework net8.0 -c release `
4450
--repository https://github.com/dotnet/aspnetcore `
4551
--config https://raw.githubusercontent.com/aspnet/Benchmarks/main/build/prbenchmarks.aspnetcore.config.yml `
4652
--app-id $(github.appid) `
@@ -49,7 +55,7 @@ jobs:
4955
--publish-results true `
5056
--external-log-uri $buildUrl
5157
52-
dotnet run --no-build --framework net7.0 -c release `
58+
dotnet run --no-build --framework net8.0 -c release `
5359
--repository https://github.com/dotnet/efcore `
5460
--config https://raw.githubusercontent.com/aspnet/Benchmarks/main/build/prbenchmarks.efcore.config.yml `
5561
--app-id $(github.appid) `
@@ -58,7 +64,7 @@ jobs:
5864
--publish-results true `
5965
--external-log-uri $buildUrl
6066
61-
dotnet run --no-build --framework net7.0 -c release `
67+
dotnet run --no-build --framework net8.0 -c release `
6268
--repository https://github.com/dotnet/runtime `
6369
--config https://raw.githubusercontent.com/aspnet/Benchmarks/main/build/prbenchmarks.runtime.windows_x64.config.yml `
6470
--app-id $(github.appid) `
@@ -67,7 +73,7 @@ jobs:
6773
--publish-results true `
6874
--external-log-uri $buildUrl
6975
70-
dotnet run --no-build --framework net7.0 -c release `
76+
dotnet run --no-build --framework net8.0 -c release `
7177
--repository https://github.com/dotnet/runtime `
7278
--config https://raw.githubusercontent.com/aspnet/Benchmarks/main/build/prbenchmarks.runtime.windows_arm64.config.yml `
7379
--app-id $(github.appid) `
@@ -91,11 +97,11 @@ jobs:
9197
git clone https://github.com/dotnet/crank -b main
9298
cd ./crank/src/Microsoft.Crank.PullRequestBot
9399
git rev-parse HEAD
94-
dotnet build -c release --framework net7.0
100+
dotnet build -c release --framework net8.0
95101
96102
$buildUrl="$(System.TeamFoundationCollectionUri)$(System.TeamProject)/_build/results?buildId=$(Build.BuildId)"
97103
98-
dotnet run --no-build --framework net7.0 -c release `
104+
dotnet run --no-build --framework net8.0 -c release `
99105
--repository https://github.com/dotnet/runtime `
100106
--config https://raw.githubusercontent.com/aspnet/Benchmarks/main/build/prbenchmarks.runtime.linux_x64.config.yml `
101107
--app-id $(github.appid) `
@@ -104,7 +110,7 @@ jobs:
104110
--publish-results true `
105111
--external-log-uri $buildUrl
106112
107-
dotnet run --no-build --framework net7.0 -c release `
113+
dotnet run --no-build --framework net8.0 -c release `
108114
--repository https://github.com/dotnet/runtime `
109115
--config https://raw.githubusercontent.com/aspnet/Benchmarks/main/build/prbenchmarks.runtime.linux_arm64.config.yml `
110116
--app-id $(github.appid) `

0 commit comments

Comments
 (0)