2022-11-17 11:26:18 +03:00
parameters :
- name : runPublicJobs
type : boolean
default : false
- name : runPrivateJobs
type : boolean
default : false
- name : runScheduledPrivateJobs
type : boolean
default : false
2018-12-07 02:44:45 +03:00
resources :
containers :
- container : ubuntu_x64_build_container
2023-08-28 20:09:49 +03:00
image : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04
2018-12-07 02:44:45 +03:00
2018-12-06 21:31:37 +03:00
trigger :
2019-03-04 20:30:06 +03:00
branches :
include :
2021-03-18 19:55:48 +03:00
- main
2019-03-04 20:30:06 +03:00
paths :
2024-01-26 11:15:02 +03:00
exclude : # don't trigger if only docs and similar files changed
- docs/*
- '**/*.md'
2024-10-01 03:07:54 +03:00
- 'gc-azure-pipelines.yml'
- src/benchmarks/gc/*
2018-12-06 21:31:37 +03:00
pr :
2019-03-04 20:30:06 +03:00
branches :
include :
2021-03-18 19:55:48 +03:00
- main
2019-03-04 20:30:06 +03:00
paths :
2024-01-26 11:15:02 +03:00
exclude : # don't trigger if only docs and similar files changed
- docs/*
2022-11-17 11:26:18 +03:00
- '**/*.md'
2022-04-11 17:48:33 +03:00
- scripts/benchmarks_monthly.py
2024-10-01 03:07:54 +03:00
- 'gc-azure-pipelines.yml'
2024-01-25 20:45:41 +03:00
- src/benchmarks/gc/*
2018-12-06 21:31:37 +03:00
2019-08-13 23:43:20 +03:00
schedules :
2020-10-23 21:25:11 +03:00
- cron : "0 */12 * * *"
displayName : Every 12 hours build
2019-08-13 23:43:20 +03:00
branches :
include :
2021-03-18 19:55:48 +03:00
- main
2019-08-13 23:43:20 +03:00
always : true
2022-08-18 23:54:04 +03:00
- cron : "0 21 * * THU"
2022-08-18 21:42:20 +03:00
displayName : Weekly Build
branches :
include :
- main
always : true
2019-08-13 23:43:20 +03:00
2018-12-06 21:31:37 +03:00
jobs :
2019-02-12 22:33:11 +03:00
2019-08-13 23:43:20 +03:00
######################################################
# Public correctness jobs
######################################################
2022-11-17 11:26:18 +03:00
- ${{ if or(eq(variables['System.TeamProject'], 'public'), parameters.runPublicJobs) }}:
# Scenario benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- win-x64
2023-08-31 09:39:01 +03:00
- ubuntu-x64
2022-11-17 11:26:18 +03:00
isPublic : true
jobParameters :
kind : scenarios
projectFile : scenarios.proj
channels : # for public jobs we want to make sure that the PRs don't break any of the supported frameworks
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
## MAUI scenario benchmarks
#- template: /eng/performance/build_machine_matrix.yml
# parameters:
# jobTemplate: /eng/performance/scenarios.yml
# buildMachines:
# - win-x64
# - ubuntu-x64
# isPublic: true
# jobParameters:
# kind: maui_scenarios
# projectFile: maui_scenarios.proj
# channels: # for public jobs we want to make sure that the PRs don't break any of the supported frameworks
# - main
2024-02-01 20:59:03 +03:00
# - 8.0
2022-11-17 11:26:18 +03:00
# Blazor scenario benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- win-x64
2023-01-12 19:12:33 +03:00
- ubuntu-x64
2022-11-17 11:26:18 +03:00
isPublic : true
jobParameters :
kind : blazor_scenarios
projectFile : blazor_scenarios.proj
channels : # for public jobs we want to make sure that the PRs don't break any of the supported frameworks
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
# SDK scenario benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- win-x64
- win-x86
2024-08-20 03:01:58 +03:00
#- ubuntu-x64-1804 reenable under new machine on new ubuntu once lttng/events are available
2022-11-17 11:26:18 +03:00
isPublic : true
jobParameters :
kind : sdk_scenarios
projectFile : sdk_scenarios.proj
channels : # for public jobs we want to make sure that the PRs don't break any of the supported frameworks
- main
2024-02-01 20:59:03 +03:00
- 8.0
2020-04-29 22:12:29 +03:00
2022-11-17 11:26:18 +03:00
# micro benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- win-x86
isPublic : true
jobParameters :
kind : micro
csproj : src\benchmarks\micro\MicroBenchmarks.csproj
runCategories : 'runtime libraries'
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
2023-05-10 18:33:53 +03:00
# Ubuntux64 Default and NativeAOT micro benchmarks
2022-11-17 11:26:18 +03:00
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
2023-05-10 18:33:53 +03:00
- ubuntu-x64
2022-11-17 11:26:18 +03:00
isPublic : true
jobParameters :
2023-05-10 18:33:53 +03:00
kind : micro
2022-11-17 11:26:18 +03:00
csproj : src\benchmarks\micro\MicroBenchmarks.csproj
2023-05-10 18:33:53 +03:00
runCategories : 'runtime libraries'
2022-11-17 11:26:18 +03:00
channels :
2023-05-10 18:33:53 +03:00
- main
2023-12-12 23:41:03 +03:00
- nativeaot9.0
2023-05-10 18:33:53 +03:00
- nativeaot8.0
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
2023-05-10 18:33:53 +03:00
# net462 micro benchmarks
2022-11-17 11:26:18 +03:00
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
2023-05-10 18:33:53 +03:00
- win-rs5-x64
2022-11-17 11:26:18 +03:00
isPublic : true
jobParameters :
2023-05-10 18:33:53 +03:00
kind : micro_net462
2022-11-17 11:26:18 +03:00
csproj : src\benchmarks\micro\MicroBenchmarks.csproj
2023-05-10 18:33:53 +03:00
runCategories : 'runtime libraries'
2022-11-17 11:26:18 +03:00
channels :
2023-05-10 18:33:53 +03:00
- net462
2022-11-17 11:26:18 +03:00
# ML.NET benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
isPublic : true
jobParameters :
kind : mlnet
csproj : src\benchmarks\real-world\Microsoft.ML.Benchmarks\Microsoft.ML.Benchmarks.csproj
runCategories : 'mldotnet'
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
# F# benchmarks
2024-08-06 20:06:05 +03:00
- ${{ if false }}: # skipping, no useful benchmarks there currently
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
isPublic : true
jobParameters :
kind : fsharp
csproj : src\benchmarks\real-world\FSharp\FSharp.fsproj
runCategories : 'fsharp'
channels :
- main
- 8.0
2022-11-17 11:26:18 +03:00
2024-03-18 20:21:23 +03:00
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
isPublic : true
jobParameters :
kind : fsharpmicro
csproj : src\benchmarks\micro-fsharp\MicrobenchmarksFSharp.fsproj
runCategories : 'FSharpMicro'
channels :
- main
- 8.0
2022-11-17 11:26:18 +03:00
# bepuphysics benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
isPublic : true
jobParameters :
kind : bepuphysics
csproj : src\benchmarks\real-world\bepuphysics2\DemoBenchmarks.csproj
runCategories : 'BepuPhysics'
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
# ImageSharp benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
isPublic : true
jobParameters :
kind : imagesharp
csproj : src\benchmarks\real-world\ImageSharp\ImageSharp.Benchmarks.csproj
runCategories : 'ImageSharp'
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
2023-11-20 18:42:45 +03:00
# Akade.IndexedSet benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
isPublic : true
jobParameters :
kind : akadeindexedset
csproj : src\benchmarks\real-world\Akade.IndexedSet.Benchmarks\Akade.IndexedSet.Benchmarks.csproj
runCategories : 'AkadeIndexedSet'
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2023-11-20 18:42:45 +03:00
2022-11-17 11:26:18 +03:00
# Roslyn benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
isPublic : true
jobParameters :
kind : roslyn
csproj : src\benchmarks\real-world\Roslyn\CompilerBenchmarks.csproj
runCategories : 'roslyn'
channels : # for Roslyn jobs we want to check .NET Core 3.1 and 5.0 only
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
# ILLink benchmarks
2023-12-07 20:49:58 +03:00
# disabled because of: https://github.com/dotnet/performance/issues/3569
# - template: /eng/performance/build_machine_matrix.yml
# parameters:
# jobTemplate: /eng/performance/benchmark_jobs.yml
# buildMachines:
# - win-x64
# - ubuntu-x64
# isPublic: true
# jobParameters:
# kind: illink
# csproj: src\benchmarks\real-world\ILLink\ILLinkBenchmarks.csproj
# runCategories: 'illink'
# channels: # for Roslyn jobs we want to check .NET Core 3.1 and 5.0 only
# - main
2019-08-13 23:43:20 +03:00
2023-01-26 21:05:48 +03:00
# NativeAOT scenario benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- win-x64
- ubuntu-x64
isPublic : true
jobParameters :
kind : nativeaot_scenarios
projectFile : nativeaot_scenarios.proj
channels : # for public jobs we want to make sure that the PRs don't break any of the supported frameworks
- main
2024-02-01 20:59:03 +03:00
- 8.0
2023-01-26 21:05:48 +03:00
2023-10-10 19:59:48 +03:00
# Powershell benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
isPublic : true
jobParameters :
kind : powershell
csproj : src\benchmarks\real-world\PowerShell.Benchmarks\PowerShell.Benchmarks.csproj
runCategories : 'Public'
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2023-10-10 19:59:48 +03:00
2019-08-13 23:43:20 +03:00
###########################################
# Private Jobs
###########################################
2022-11-17 11:26:18 +03:00
- ${{ if or(and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest', 'Manual')), parameters.runPrivateJobs) }}:
# Scenario benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- win-x64
2023-08-31 09:39:01 +03:00
- ubuntu-x64
2022-11-17 11:26:18 +03:00
- win-arm64
2023-06-09 18:54:19 +03:00
- ubuntu-arm64-ampere
2022-11-17 11:26:18 +03:00
isPublic : false
jobParameters :
kind : scenarios
projectFile : scenarios.proj
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
2023-06-05 19:34:25 +03:00
# Affinitized Scenario benchmarks (Initially just PDN)
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- win-x64
- win-arm64
2023-06-09 18:54:19 +03:00
- win-arm64-ampere
2023-06-05 19:34:25 +03:00
isPublic : false
jobParameters :
kind : scenarios
projectFile : scenarios_affinitized.proj
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2023-06-05 19:34:25 +03:00
additionalJobIdentifier : 'Affinity_85'
affinity : '85' # (01010101) Enables alternating process threads to take hyperthreading into account
runEnvVars :
- DOTNET_GCgen0size=410000 # ~4MB
- DOTNET_GCHeapCount=4
- DOTNET_GCTotalPhysicalMemory=400000000 # 16GB
2023-01-20 23:11:44 +03:00
# Maui Android scenario benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
2023-05-02 23:07:14 +03:00
- win-x64-android-arm64-pixel
- win-x64-android-arm64-galaxy
2023-01-20 23:11:44 +03:00
isPublic : false
jobParameters :
kind : maui_scenarios_android
projectFile : maui_scenarios_android.proj
dotnetVersionsLinks :
2024-08-02 00:32:40 +03:00
9.0 : ./eng/Version.Details.xml
channels :
- 8.0
2023-01-20 23:11:44 +03:00
2023-09-08 22:49:02 +03:00
# Maui iOS Mono scenario benchmarks
2023-04-04 20:13:41 +03:00
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- osx-x64-ios-arm64
isPublic : false
jobParameters :
kind : maui_scenarios_ios
projectFile : maui_scenarios_ios.proj
dotnetVersionsLinks :
2024-08-02 00:32:40 +03:00
9.0 : ./eng/Version.Details.xml
channels :
- 8.0
2023-07-21 12:12:56 +03:00
runtimeFlavor : mono
2023-09-08 22:49:02 +03:00
# Maui iOS Native AOT scenario benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- osx-x64-ios-arm64
isPublic : false
jobParameters :
kind : maui_scenarios_ios
projectFile : maui_scenarios_ios.proj
dotnetVersionsLinks :
2024-08-02 00:32:40 +03:00
9.0 : ./eng/Version.Details.xml
channels :
- 8.0
2023-07-21 12:12:56 +03:00
runtimeFlavor : coreclr
2023-04-04 20:13:41 +03:00
2022-11-17 11:26:18 +03:00
## Maui scenario benchmarks
#- template: /eng/performance/build_machine_matrix.yml
# parameters:
# jobTemplate: /eng/performance/scenarios.yml
# buildMachines:
# - win-x64
# - ubuntu-x64
# - win-arm64
2023-06-09 18:54:19 +03:00
# - ubuntu-arm64-ampere
2022-11-17 11:26:18 +03:00
# isPublic: false
# jobParameters:
# kind: maui_scenarios
# projectFile: maui_scenarios.proj
# channels:
# - main
2024-02-01 20:59:03 +03:00
# - 8.0
2019-04-26 17:36:56 +03:00
2023-01-26 21:05:48 +03:00
# NativeAOT scenario benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- win-x64
- ubuntu-x64
- win-arm64
isPublic : false
jobParameters :
kind : nativeaot_scenarios
projectFile : nativeaot_scenarios.proj
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2023-01-26 21:05:48 +03:00
2019-08-13 23:43:20 +03:00
################################################
# Scheduled Private jobs
################################################
2020-07-01 03:03:17 +03:00
# Scheduled runs will run all of the jobs on the PerfTigers, as well as the Arm64 job
2022-11-17 11:26:18 +03:00
- ${{ if or(and(and(ne(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Schedule')), not(contains(variables['Build.QueuedBy'], 'Weekly'))), parameters.runScheduledPrivateJobs) }}:
# SDK scenario benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- win-x64
- win-x86
2024-08-20 03:01:58 +03:00
#- ubuntu-x64-1804 reenable under new machine on new ubuntu once lttng/events are available
2022-11-17 11:26:18 +03:00
isPublic : false
jobParameters :
kind : sdk_scenarios
projectFile : sdk_scenarios.proj
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
# Blazor 3.2 scenario benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/scenarios.yml
buildMachines :
- win-x64
isPublic : false
jobParameters :
kind : blazor_scenarios
projectFile : blazor_scenarios.proj
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
# F# benchmarks
2024-08-06 20:06:05 +03:00
- ${{ if false }}: # skipping, no useful benchmarks there currently
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
- win-arm64
- ubuntu-arm64-ampere
isPublic : false
jobParameters :
kind : fsharp
csproj : src\benchmarks\real-world\FSharp\FSharp.fsproj
runCategories : 'fsharp'
channels :
- main
- 8.0
2022-11-17 11:26:18 +03:00
2024-03-18 20:21:23 +03:00
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
- win-arm64
- ubuntu-arm64-ampere
isPublic : false
jobParameters :
kind : fsharpmicro
csproj : src\benchmarks\micro-fsharp\MicrobenchmarksFSharp.fsproj
runCategories : 'FSharpMicro'
channels :
- main
- 8.0
2022-11-17 11:26:18 +03:00
# bepuphysics benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
2023-01-26 04:32:35 +03:00
- win-arm64
2023-06-09 18:54:19 +03:00
- ubuntu-arm64-ampere
2022-11-17 11:26:18 +03:00
isPublic : false
jobParameters :
kind : bepuphysics
csproj : src\benchmarks\real-world\bepuphysics2\DemoBenchmarks.csproj
runCategories : 'BepuPhysics'
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
# ImageSharp benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
2023-01-26 04:32:35 +03:00
- win-arm64
2023-06-09 18:54:19 +03:00
- ubuntu-arm64-ampere
2022-11-17 11:26:18 +03:00
isPublic : false
jobParameters :
kind : imagesharp
csproj : src\benchmarks\real-world\ImageSharp\ImageSharp.Benchmarks.csproj
runCategories : 'ImageSharp'
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2022-11-17 11:26:18 +03:00
2023-11-20 18:42:45 +03:00
# Akade.IndexedSet benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
- win-arm64
- ubuntu-arm64-ampere
isPublic : false
jobParameters :
kind : akadeindexedset
csproj : src\benchmarks\real-world\Akade.IndexedSet.Benchmarks\Akade.IndexedSet.Benchmarks.csproj
runCategories : 'AkadeIndexedSet'
channels :
- main
2023-05-12 22:15:57 +03:00
# ML.NET benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
- win-arm64
2023-06-09 18:54:19 +03:00
- win-arm64-ampere
- ubuntu-arm64-ampere
2023-05-12 22:15:57 +03:00
isPublic : false
jobParameters :
kind : mlnet
csproj : src\benchmarks\real-world\Microsoft.ML.Benchmarks\Microsoft.ML.Benchmarks.csproj
runCategories : 'mldotnet'
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2023-05-23 21:18:49 +03:00
affinity : '85' # (01010101) Enables alternating process threads to take hyperthreading into account
runEnvVars :
- DOTNET_GCgen0size=410000 # ~4MB
- DOTNET_GCHeapCount=4
- DOTNET_GCTotalPhysicalMemory=400000000 # 16GB
2023-05-12 22:15:57 +03:00
2022-11-17 11:26:18 +03:00
# Roslyn benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
2023-01-26 04:32:35 +03:00
- win-arm64
2023-06-09 18:54:19 +03:00
- win-arm64-ampere
- ubuntu-arm64-ampere
2022-11-17 11:26:18 +03:00
isPublic : false
jobParameters :
kind : roslyn
csproj : src\benchmarks\real-world\Roslyn\CompilerBenchmarks.csproj
runCategories : 'roslyn'
channels : # for Roslyn jobs we want to check .NET Core 3.1 and 5.0 only
- main
2024-02-01 20:59:03 +03:00
- 8.0
2023-05-23 21:18:49 +03:00
affinity : '85' # (01010101) Enables alternating process threads to take hyperthreading into account
runEnvVars :
- DOTNET_GCgen0size=410000 # ~4MB
- DOTNET_GCHeapCount=4
- DOTNET_GCTotalPhysicalMemory=400000000 # 16GB
2022-11-17 11:26:18 +03:00
# ILLink benchmarks
2023-12-07 20:49:58 +03:00
# disabled because of: https://github.com/dotnet/performance/issues/3569
# - template: /eng/performance/build_machine_matrix.yml
# parameters:
# jobTemplate: /eng/performance/benchmark_jobs.yml
# buildMachines:
# - win-x64
# - ubuntu-x64
# # Illink.Utilities is not supported on ARM: The type initializer for 'ILLinkBenchmarks.Utilities' threw a NotSupportedException (Unsupported architecture). (06/2023)
# isPublic: false
# jobParameters:
# kind: illink
# csproj: src\benchmarks\real-world\ILLink\ILLinkBenchmarks.csproj
# runCategories: 'illink'
# channels: # for Roslyn jobs we want to check .NET Core 3.1 and 5.0 only
# - main
2024-02-01 20:59:03 +03:00
# - 8.0
2022-10-13 20:31:05 +03:00
2023-10-10 19:59:48 +03:00
# Powershell benchmarks
- template : /eng/performance/build_machine_matrix.yml
parameters :
jobTemplate : /eng/performance/benchmark_jobs.yml
buildMachines :
- win-x64
- ubuntu-x64
- win-arm64
- ubuntu-arm64
isPublic : false
jobParameters :
kind : powershell
csproj : src\benchmarks\real-world\PowerShell.Benchmarks\PowerShell.Benchmarks.csproj
runCategories : 'Public Internal'
channels :
- main
2024-02-01 20:59:03 +03:00
- 8.0
2023-10-10 19:59:48 +03:00
2022-08-18 23:54:04 +03:00
# Secret Sync
- job : Synchronize
pool :
name : NetCore1ESPool-Internal-NoMSI
demands : ImageOverride -equals 1es-windows-2019
steps :
- task : UseDotNet@2
2024-01-26 20:55:42 +03:00
displayName : Install .NET 6.0
2022-08-18 23:54:04 +03:00
inputs :
2024-01-26 20:55:42 +03:00
version : 6. x
2024-01-25 22:25:07 +03:00
- task : DeleteFiles@1
inputs :
Contents : global.json
2022-08-18 23:54:04 +03:00
- script : dotnet tool restore
- task : AzureCLI@2
inputs :
azureSubscription : .NET Performance (790c4451-dad9-4fda-af8b-10bd9ca328fa)
scriptType : ps
scriptLocation : inlineScript
inlineScript : |
Get-ChildItem .vault-config/*.yaml |% { dotnet secret-manager synchronize $_}
2020-01-11 02:15:04 +03:00
################################################
# Manually Triggered Job
################################################
2022-11-17 11:26:18 +03:00
- ${{ if and(ne(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Manual'), not(parameters.runPublicJobs), not(parameters.runScheduledPrivateJobs), not(parameters.runPrivateJobs)) }}:
2022-08-18 21:42:20 +03:00
- job : Synchronize
pool :
name : NetCore1ESPool-Internal-NoMSI
demands : ImageOverride -equals 1es-windows-2019
steps :
- task : UseDotNet@2
2024-01-26 20:55:42 +03:00
displayName : Install .NET 6.0
2024-01-25 22:25:07 +03:00
inputs :
2024-01-26 20:55:42 +03:00
version : 6. x
2024-01-25 22:25:07 +03:00
- task : DeleteFiles@1
2022-08-18 21:42:20 +03:00
inputs :
2024-01-25 22:25:07 +03:00
Contents : global.json
2022-08-18 21:42:20 +03:00
- script : dotnet tool restore
- task : AzureCLI@2
inputs :
azureSubscription : .NET Performance (790c4451-dad9-4fda-af8b-10bd9ca328fa)
scriptType : ps
scriptLocation : inlineScript
inlineScript : |
Get-ChildItem .vault-config/*.yaml |% { dotnet secret-manager synchronize $_}
################################################
# Scheduled Private jobs (Weekly)
################################################
# Scheduled runs will run all of the jobs on the PerfTigers, as well as the Arm64 job
- ${{ if and(and(ne(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Schedule')), contains(variables['Build.QueuedBy'], 'Weekly')) }}:
- job : Synchronize
2022-08-18 23:54:04 +03:00
pool :
name : NetCore1ESPool-Internal-NoMSI
demands : ImageOverride -equals 1es-windows-2019
steps :
- task : UseDotNet@2
2024-01-26 20:55:42 +03:00
displayName : Install .NET 6.0
2024-01-25 22:25:07 +03:00
inputs :
2024-01-26 20:55:42 +03:00
version : 6. x
2024-01-25 22:25:07 +03:00
- task : DeleteFiles@1
2022-08-18 23:54:04 +03:00
inputs :
2024-01-25 22:25:07 +03:00
Contents : global.json
2022-08-18 23:54:04 +03:00
- script : dotnet tool restore
- task : AzureCLI@2
inputs :
azureSubscription : .NET Performance (790c4451-dad9-4fda-af8b-10bd9ca328fa)
scriptType : ps
scriptLocation : inlineScript
inlineScript : |
2022-10-10 22:58:30 +03:00
Get-ChildItem .vault-config/*.yaml |% { dotnet secret-manager synchronize $_}