Skip to content

Commit

Permalink
CI for benchmarks_net_full
Browse files Browse the repository at this point in the history
  • Loading branch information
gfoidl committed Mar 23, 2020
1 parent 1fd9528 commit a0542fa
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .azure/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,9 @@ jobs:
name: benchmarks_mac
vmImage: 'macOS-10.15'
dependsOn: mac

- template: jobs/benchmarks_net_full.yml
parameters:
name: benchmarks_net_full
vmImage: 'windows-2019'
dependsOn: windows
23 changes: 23 additions & 0 deletions .azure/pipelines/jobs/benchmarks_net_full.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
parameters:
name: ''
vmImage: ''
dependsOn: ''

jobs:
- job: ${{ parameters.name }}
dependsOn:
- ${{ parameters.dependsOn }}
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.Reason'], 'Schedule'))
pool:
vmImage: ${{ parameters.vmImage }}
timeoutInMinutes: 0 # 360 minutes
steps:
- bash: |
chmod u+x *.sh
export BENCH_FX=net461
./run-benchmarks.sh
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'perf/gfoidl.Base64.Benchmarks/bin/Release/net461/BenchmarkDotNet.Artifacts/results'
artifactName: '${{ parameters.name }}'
1 change: 1 addition & 0 deletions gfoidl.Base64.sln
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "jobs", "jobs", "{BBE8166F-3522-4A1F-87F7-1D88280529C5}"
ProjectSection(SolutionItems) = preProject
.azure\pipelines\jobs\benchmarks.yml = .azure\pipelines\jobs\benchmarks.yml
.azure\pipelines\jobs\benchmarks_net_full.yml = .azure\pipelines\jobs\benchmarks_net_full.yml
.azure\pipelines\jobs\build_and_test.yml = .azure\pipelines\jobs\build_and_test.yml
.azure\pipelines\jobs\build_and_test_intrinsics.yml = .azure\pipelines\jobs\build_and_test_intrinsics.yml
.azure\pipelines\jobs\demo.yml = .azure\pipelines\jobs\demo.yml
Expand Down

0 comments on commit a0542fa

Please sign in to comment.