Skip to content

Commit 7b2ad98

Browse files
committed
Build on Github Actions
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent adb9970 commit 7b2ad98

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build driver solution
2+
on:
3+
push:
4+
5+
jobs:
6+
build-sensors-combo-driver:
7+
strategy:
8+
matrix:
9+
configuration: [Debug, Release]
10+
platform: [x64]
11+
runs-on: windows-2022
12+
# env:
13+
# Solution_Path: SensorsComboDriver\SensorsComboDriver.sln
14+
steps:
15+
- name: Check out repository code
16+
uses: actions/checkout@v3
17+
18+
- name: Add MSBuild to PATH
19+
uses: microsoft/setup-msbuild@v1.0.2
20+
21+
# msbuild ${{ env.Solution_Path }} -p:Configuration:${{ env.Configuration }} -p:Platform:${{ env.Platform }}
22+
- name: Build solution
23+
run: |
24+
msbuild SensorsComboDriver\SensorsComboDriver.sln -p:Configuration:${{ env.Configuration }} -p:Platform:${{ env.Platform }}
25+
msbuild SimpleDeviceOrientationSensor\SimpleDeviceOrientationSensor.sln -p:Configuration:${{ env.Configuration }} -p:Platform:${{ env.Platform }}
26+
env:
27+
Configuration: ${{ matrix.configuration }}
28+
Platform: ${{ matrix.platform }}

0 commit comments

Comments
 (0)