-
Notifications
You must be signed in to change notification settings - Fork 26
44 lines (32 loc) · 1.23 KB
/
build-winui.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build ALL (.Net 8 WinUI)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
env:
Solution_Name_MP1: "Media Player SDK/VisioForge.MediaPlayer.Demos.CS WinUI.sln"
Solution_Name_VC1: "Video Capture SDK/VisioForge.VideoCapture.Demos.CS WinUI.sln"
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
8.0.x
- name: Add msbuild to PATH
uses: microsoft/[email protected]
## Media Player
- name: Restore dependencies $env:Solution_Name_MP1
run: dotnet restore $env:Solution_Name_MP1
- name: Build app for release $env:Solution_Name_MP1
run: msbuild $env:Solution_Name_MP1 -t:rebuild -verbosity:diag -property:Configuration=Release
## Video Capture
- name: Restore dependencies $env:Solution_Name_VC1
run: dotnet restore $env:Solution_Name_VC1
- name: Build app for release $env:Solution_Name_VC1
run: dotnet build $env:Solution_Name_VC1 --configuration Release --verbosity diagnostic
# run: msbuild $env:Solution_Name_VC1 -t:rebuild -verbosity:diag -property:Configuration=Release