Skip to content

Commit e0820de

Browse files
committed
Create workflow to build benchmarks
Ensures the NetOffice Benchmarks project can be built. We are not running benchmarks are take too long to finish.
1 parent 2f505a1 commit e0820de

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/benchmarks.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: benchmarks
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
8+
permissions:
9+
contents: read
10+
11+
env:
12+
DOTNET_NOLOGO: 1
13+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
14+
DOTNET_GENERATE_ASPNET_CERTIFICATE: 0
15+
ContinuousIntegrationBuild: true
16+
CONFIGURATION: Release
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v6
25+
26+
- name: Setup dotnet
27+
uses: actions/setup-dotnet@v5
28+
with:
29+
dotnet-version: '10.0'
30+
31+
- name: Build benchmarks
32+
id: build
33+
run: dotnet build ./Tests/NetOffice.Benchmarks/NetOffice.Benchmarks.csproj -c '${{ env.CONFIGURATION }}'

0 commit comments

Comments
 (0)