Maui example #225
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark | |
on: [push, pull_request] | |
jobs: | |
Rendering: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 3.1.401 | |
- run: dotnet run -p CSharpMath.Rendering.Benchmarks | |
- name: Store benchmark result | |
uses: Happypig375/github-action-benchmark@v1 | |
with: | |
name: CSharpMath.Rendering.Benchmarks | |
tool: 'benchmarkdotnet' | |
output-file-path: .benchmarkresults/results/CSharpMath.Rendering.Benchmarks.Program-report-full-compressed.json | |
github-token: ${{ github.token }} | |
auto-push: ${{ github.ref == 'refs/heads/master' }} # Push and deploy GitHub pages branch automatically | |
alert-threshold: 155% # Should not be lower than 155% to take account of fluctuations of CI load, see https://github.com/verybadcat/CSharpMath/pull/156#commitcomment-42067078 | |
comment-on-alert: true # Show alert with commit comment on detecting possible performance regression | |
fail-on-alert: true | |
alert-comment-cc-users: '@Happypig375' |