Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[perf build] Added possibility to store metadata about latest built PERF build #113978

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions eng/pipelines/performance/perf-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ parameters:
displayName: Upload artifacts to blob storage
type: boolean
default: false
- name: storeAsLatest
displayName: Mark the build as latest for the branch
type: boolean
default: false
- name: mauiFramework
type: string
default: 'net9.0'
Expand Down Expand Up @@ -81,20 +85,14 @@ trigger:
paths:
include:
- '*'
exclude:
- '**.md'
- .devcontainer/*
- .github/*
- docs/*
- LICENSE.TXT
- PATENTS.TXT
- THIRD-PARTY-NOTICES.TXT
# do not exclude any paths, as we want to build every single commit

resources:
repositories:
- repository: performance
type: git
name: internal/dotnet-performance
# if you need to specify explicit branch use 'ref:' - for example ref: ekharion/store-latest-build

variables:
- template: /eng/pipelines/common/variables.yml
Expand Down Expand Up @@ -234,3 +232,7 @@ extends:
- monoBDN_arm64_android
- ${{ if eq(parameters.nativeAot_arm64_ios, true) }}:
- nativeAot_arm64_ios
- ${{ if eq(parameters.storeAsLatest, true) }}:
- template: /eng/pipelines/upload-latest-build.yml@performance
parameters:
branchName: ${{ replace(variables['Build.SourceBranch'], 'refs/heads/', '') }}