Skip to content

Commit

Permalink
Create build-net7-winui.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
visioforge authored Jan 16, 2024
1 parent 1aaf847 commit a65f4b1
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build-net7-winui.yml
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

0 comments on commit a65f4b1

Please sign in to comment.