-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1aaf847
commit a65f4b1
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Build ALL (.Net 7 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: | | ||
7.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: msbuild $env:Solution_Name_VC1 -t:rebuild -verbosity:diag -property:Configuration=Release |