|
| 1 | +parameters: |
| 2 | + osName: '' # required -- windows | linux | macos |
| 3 | + osVersion: '' # required -- OS version |
| 4 | + kind: '' # required -- benchmark kind. As of today, only "micro" and "mlnet" benchmarks are supported, we plan to add "scenarios" soon |
| 5 | + architecture: '' # required -- Architecture. Allowed values: x64, x86, arm, arm64 |
| 6 | + pool: '' # required -- name of the Helix pool |
| 7 | + queue: '' # required -- name of the Helix queue |
| 8 | + container: '' # optional -- id of the container |
| 9 | + |
| 10 | +jobs: |
| 11 | +- template: ../common/templates/jobs/jobs.yml |
| 12 | + parameters: |
| 13 | + enableTelemetry: false |
| 14 | + enablePublishBuildArtifacts: true |
| 15 | + helixRepo: dotnet/performance |
| 16 | + jobs: |
| 17 | + - job: '${{ parameters.osName }}_${{ parameters.osVersion }}_${{ parameters.architecture }}_${{ parameters.kind }}' |
| 18 | + displayName: '${{ parameters.osName }} ${{ parameters.osVersion }} ${{ parameters.architecture }} ${{ parameters.kind }}' |
| 19 | + timeoutInMinutes: 320 |
| 20 | + variables: |
| 21 | + - name: Python |
| 22 | + value: 'py -3' |
| 23 | + - group: DotNet-HelixApi-Access |
| 24 | + workspace: |
| 25 | + clean: all |
| 26 | + pool: |
| 27 | + name: ${{ parameters.pool }} |
| 28 | + container: ${{ parameters.container }} |
| 29 | + |
| 30 | + steps: |
| 31 | + - checkout: self |
| 32 | + clean: true |
| 33 | + - script: $(Python) scripts/gcinfra_setup.py |
| 34 | + displayName: Set up GCPerf, GCPerfSim, and C Tools |
| 35 | + |
| 36 | + #Your steps here |
| 37 | + |
| 38 | + # - template: /eng/performance/send-to-helix.yml |
| 39 | + # parameters: |
| 40 | + # HelixSource: '$(HelixSourcePrefix)/dotnet/performance/$(Build.SourceBranch)' # Need to update this |
| 41 | + # HelixType: 'test/performance_$(_BuildConfig)/' #Need to update this |
| 42 | + # HelixAccessToken: $(HelixApiAccessToken) |
| 43 | + # HelixTargetQueues: ${{ parameters.queue }} |
| 44 | + # HelixPreCommands: $(HelixPreCommand) |
| 45 | + # Creator: $(Creator) |
| 46 | + # Architecture: ${{ parameters.architecture }} |
| 47 | + # TargetCsproj: ${{ parameters.csproj }} |
| 48 | + # WorkItemTimeout: 4:00 # 4 hours |
| 49 | + # Python: $(Python) |
| 50 | + # ${{ if eq(parameters.osName, 'windows') }}: |
| 51 | + # WorkItemDirectory: '$(Build.SourcesDirectory)\docs' # Need to update this |
| 52 | + # CorrelationPayloadDirectory: '$(Build.SourcesDirectory)\notLocked' # Need to update this |
0 commit comments