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

Test perf-send-to-helix syntax #42332

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion eng/common/templates/steps/perf-send-to-helix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ parameters:
steps:
- template: /eng/pipelines/common/templates/runtimes/send-to-helix-inner-step.yml
parameters:
osGroup: ${{ variables['Agent.Os'] }}
osGroup: variables['Agent.Os']
sendParams: $(Build.SourcesDirectory)/eng/common/performance/${{ parameters.ProjectFile }} /restore /t:Test /bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog
displayName: ${{ parameters.DisplayNamePrefix }}
condition: ${{ parameters.condition }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,26 @@ parameters:
environment: {}

steps:
- ${{ if eq(parameters.osGroup, 'Windows_NT') }}:
# TODO: Remove and consolidate this when we move to arcade via init-tools.cmd.
- powershell: $(Build.SourcesDirectory)\eng\common\build.ps1 -ci ${{ parameters.restoreParams }}
displayName: Restore blob feed tasks (Windows)
condition: ${{ and(ne(parameters.condition, false), ne(parameters.restoreParams, '')) }}
condition: and(and(ne(${{ parameters.condition }}, false), ne(${{ parameters.restoreParams }}, '')), eq(${{ parameters.osGroup }}, 'Windows_NT'))

- powershell: $(Build.SourcesDirectory)\eng\common\msbuild.ps1 -ci ${{ parameters.sendParams }}
displayName: ${{ parameters.displayName }} (Windows)
condition: ${{ and(ne(parameters.condition, false), ne(parameters.sendParams, '')) }}
condition: and(and(ne(${{ parameters.condition }}, false), ne(${{ parameters.sendParams }}, '')), eq(${{ parameters.osGroup }}, 'Windows_NT'))
env: ${{ parameters.environment }}

- ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
# TODO: Remove and consolidate this when we move to arcade via init-tools.sh.
- script: $(Build.SourcesDirectory)/eng/common/build.sh --ci ${{ parameters.restoreParams }}
displayName: Restore blob feed tasks (Unix)
condition: ${{ and(ne(parameters.condition, false), ne(parameters.restoreParams, '')) }}
${{ if eq(parameters.osGroup, 'FreeBSD') }}:
env:
# Arcade uses this SDK instead of trying to restore one.
DotNetCoreSdkDir: /usr/local/dotnet
# # TODO: Remove and consolidate this when we move to arcade via init-tools.sh.
# - script: $(Build.SourcesDirectory)/eng/common/build.sh --ci ${{ parameters.restoreParams }}
# displayName: Restore blob feed tasks (Unix)
# condition: ${{ and(ne(parameters.condition, false), ne(parameters.restoreParams, '')) }}
# ${{ if eq(parameters.osGroup, 'FreeBSD') }}:
# env:
# # Arcade uses this SDK instead of trying to restore one.
# DotNetCoreSdkDir: /usr/local/dotnet

- script: $(Build.SourcesDirectory)/eng/common/msbuild.sh --ci ${{ parameters.sendParams }}
displayName: ${{ parameters.displayName }} (Unix)
condition: ${{ and(ne(parameters.condition, false), ne(parameters.sendParams, '')) }}
env: ${{ parameters.environment }}
# - script: $(Build.SourcesDirectory)/eng/common/msbuild.sh --ci ${{ parameters.sendParams }}
# displayName: ${{ parameters.displayName }} (Unix)
# condition: ${{ and(ne(parameters.condition, false), ne(parameters.sendParams, '')) }}
# env: ${{ parameters.environment }}
19 changes: 18 additions & 1 deletion eng/pipelines/coreclr/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,24 @@ trigger:
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

pr: none
pr:
branches:
include:
- master
paths:
include:
- '*'
- src/libraries/System.Private.CoreLib/*
exclude:
- .github/*
- docs/*
- CODE-OF-CONDUCT.md
- CONTRIBUTING.md
- LICENSE.TXT
- PATENTS.TXT
- README.md
- SECURITY.md
- THIRD-PARTY-NOTICES.TXT

jobs:
#
Expand Down