Skip to content

Commit 10072cb

Browse files
authored
bench prs (#98)
* runpr * rename * rename
1 parent 12e948f commit 10072cb

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/benchpr.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Benchmark
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
concurrency: benchmark_pr
8+
9+
jobs:
10+
build:
11+
12+
runs-on: windows-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup .NET Core
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: 6.0.x
20+
- name: Install dependencies
21+
run: dotnet restore
22+
- name: Build
23+
run: dotnet build --configuration Release --no-restore
24+
- name: Benchmark
25+
run: dotnet run --project "BitFaster.Caching.Benchmarks" -f net6.0 -c Release --filter *Lru*
26+
- name: Publish Results
27+
uses: actions/upload-artifact@v1
28+
with:
29+
name: Benchmark Artifacts
30+
path: BenchmarkDotNet.Artifacts

.github/workflows/dotnet-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: .NET Core
1+
name: Build and Test
22

33
on:
44
push:

0 commit comments

Comments
 (0)