Merge tag '5.4.2' into port/5.4.2-to-main #1543
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Libplanet benchmark (for merge commits) | |
on: | |
push: | |
branches-ignore: | |
- "gh-pages" | |
permissions: | |
contents: write | |
deployments: write | |
jobs: | |
benchmark: | |
name: Run Benchmark.Net benchmarks | |
continue-on-error: true | |
strategy: | |
matrix: | |
os: | |
- [macOS, self-hosted, ARM64] | |
- linux-8cores | |
- windows-8cores | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Run benchmark | |
run: dotnet run --project tools/Libplanet.Benchmarks -c Release -- --exporters json --filter '*' | |
- name: Store benchmark result | |
uses: planetarium/github-action-benchmark@v1 | |
with: | |
name: Benchmark.Net Benchmark | |
tool: 'benchmarkdotnet' | |
output-file-path: BenchmarkDotNet.Artifacts/results/Combined.Benchmarks.json | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
benchmark-data-dir-path: dev/bench/${{ github.ref_name }}/${{ matrix.os }} | |
auto-push: true |