Skip to content

Commit 692edb0

Browse files
committed
add a github workflow to run benchmarks
1 parent 9636fba commit 692edb0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: stackguardtest
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
os: [ubuntu-latest, windows-latest, macos-latest]
14+
runs-on: ${{ matrix.os }}
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Setup .NET
19+
uses: actions/setup-dotnet@v3
20+
with:
21+
dotnet-version: 8.0.x
22+
- name: Restore tools
23+
run: dotnet tool restore
24+
- name: Build
25+
run:
26+
cd ./tests/benchmarks/FCSBenchmarks/CompilerServiceBenchmarks;
27+
dotnet build -c Release
28+
- name: RunBenchmark
29+
run: dotnet run --filter *

0 commit comments

Comments
 (0)