-
Notifications
You must be signed in to change notification settings - Fork 67
31 lines (29 loc) · 844 Bytes
/
benchmark.yml
File metadata and controls
31 lines (29 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Benchmarks
on:
workflow_dispatch:
jobs:
benchmark:
runs-on: ubuntu-latest
env:
Solution_name: JsonFlatFileDataStore.sln
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
10.0.x
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build -c Release
- name: Run Benchmarks
run: dotnet run --project JsonFlatFileDataStore.Benchmark/JsonFlatFileDataStore.Benchmark.csproj -c Release -- --filter '*'
- name: Upload Benchmark Results
uses: actions/upload-artifact@v4
if: always()
with:
name: benchmark-results
path: |
**/BenchmarkDotNet.Artifacts/**
BenchmarkDotNet.Artifacts/**
if-no-files-found: warn