Skip to content

Commit 826c7fe

Browse files
authored
Create windriver-build.yml
1 parent 035baa5 commit 826c7fe

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build Windows Driver
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
8+
jobs:
9+
build:
10+
runs-on: windows-2022
11+
strategy:
12+
matrix:
13+
configuration: [Release]
14+
platform: [x64]
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Setup MSBuild
19+
uses: microsoft/setup-msbuild@v2
20+
21+
- name: Setup NuGet
22+
uses: NuGet/setup-nuget@v2
23+
24+
- name: Restore packages
25+
run: nuget restore src\WinMSRDriver\MSR.vcxproj
26+
27+
- name: Build
28+
run: msbuild src\WinMSRDriver\MSR.vcxproj /m /t:Build ^
29+
/p:Configuration=${{ matrix.configuration }} ^
30+
/p:Platform=${{ matrix.platform }}

0 commit comments

Comments
 (0)