Add Windows build verification
This commit is contained in:
parent
27e71a9831
commit
4015e3e777
1 changed files with 30 additions and 0 deletions
30
.github/workflows/windows-build.yml
vendored
Normal file
30
.github/workflows/windows-build.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
name: Windows build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ['**']
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Set up .NET 10
|
||||||
|
uses: actions/setup-dotnet@v5
|
||||||
|
with:
|
||||||
|
dotnet-version: 10.0.x
|
||||||
|
|
||||||
|
- name: Restore
|
||||||
|
run: dotnet restore src/ServerMonitorManager.Desktop/ServerMonitorManager.Desktop.csproj -p:Platform=x64
|
||||||
|
|
||||||
|
- name: Build x64 Release
|
||||||
|
run: dotnet build src/ServerMonitorManager.Desktop/ServerMonitorManager.Desktop.csproj --configuration Release -p:Platform=x64 --no-restore
|
||||||
|
|
||||||
|
- name: Verify formatting
|
||||||
|
run: dotnet format src/ServerMonitorManager.Desktop/ServerMonitorManager.Desktop.csproj --verify-no-changes --no-restore
|
||||||
Loading…
Reference in a new issue