Skip to content

feat: support System.Half type #10

feat: support System.Half type

feat: support System.Half type #10

Workflow file for this run

name: Benchmarks
on:
pull_request:
branches:
- "main"
workflow_dispatch:
jobs:
benchmarks:
name: Benchmarks
if: startsWith(github.ref, 'refs/heads/renovate') == false
runs-on: ubuntu-22.04
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Release
- name: Run all benchmarks
working-directory: tests/benchmarks
run: dotnet run -c Release -- -f *
- name: Add summary
working-directory: tests/benchmarks/BenchmarkDotNet.Artifacts/results
run: cat FingerprintBuilder.BenchmarkTests.ModelToHex-report-github.md >> $GITHUB_STEP_SUMMARY
- name: Add PR comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: tests/benchmarks/BenchmarkDotNet.Artifacts/results/FingerprintBuilder.BenchmarkTests.ModelToHex-report-github.md