Skip to content

Commit

Permalink
Issue/#39 (#46)
Browse files Browse the repository at this point in the history
* #39 Added base configuration for benchmark pipeline

* Update benchmark-pipeline.yml for Azure Pipelines
  • Loading branch information
adibradfield authored Oct 14, 2019
1 parent 38280f2 commit befd726
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions azure-pipelines/benchmark-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
trigger: none
pr: none

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'

steps:

- template: templates/environment-setup-steps.yml
parameters:
solution: $(solution)

- template: templates/build-steps.yml
parameters:
solution: $(solution)
buildPlatform: $(buildPlatform)
buildConfiguration: $(buildConfiguration)

- task: ChocolateyCommand@0
inputs:
command: 'install'
installPackageId: 'mongodb.portable'
displayName: 'Install MongoDb and Run'

- task: CmdLine@2
inputs:
script: 'mkdir "$(Build.ArtifactStagingDirectory)/BenchmarkArtifacts"'

- task: DotNetCoreCLI@2
inputs:
command: 'run'
projects: '**/MongoDelta.Benchmarking/*.csproj'
arguments: '-c Release -- -f * -a "$(Build.ArtifactStagingDirectory)/BenchmarkArtifacts"'

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/BenchmarkArtifacts'
ArtifactName: 'Benchmark Results'
publishLocation: 'Container'

0 comments on commit befd726

Please sign in to comment.