Skip to content

Commit e7174a5

Browse files
authored
Add build verification
1 parent 8a64d00 commit e7174a5

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/pr.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
paths-ignore:
7+
- 'scenarios/**'
8+
- 'build/**'
9+
- 'README.md'
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
env:
16+
DOTNET_NOLOGO: true
17+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
18+
19+
steps:
20+
- name: Checkout source code
21+
uses: actions/checkout@v3
22+
23+
- name: Install required .NET versions
24+
uses: actions/setup-dotnet@v3
25+
with:
26+
dotnet-version: |
27+
6.0.x
28+
7.0.x
29+
8.0.x
30+
31+
- name: Build
32+
run: dotnet build .\src\BenchmarksApps\TechEmpower\PlatformBenchmarks\PlatformBenchmarks.csproj
33+

0 commit comments

Comments
 (0)