-
Notifications
You must be signed in to change notification settings - Fork 4
46 lines (44 loc) · 1.17 KB
/
dotnet-desktop.yml
File metadata and controls
46 lines (44 loc) · 1.17 KB
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
45
46
name: .NET
on:
push:
branches:
- master
paths-ignore:
- 'README.md'
pull_request:
branches:
- master
paths-ignore:
- 'README.md'
jobs:
build-avaloniaui:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2022, ubuntu-22.04, macos-13]
steps:
- uses: actions/checkout@v3
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
working-directory: samples/Lemon.ModuleNavigation.Sample.Desktop
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: samples/Lemon.ModuleNavigation.Sample.Desktop
build-wpf:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
working-directory: samples/Lemon.ModuleNavigation.WpfSample
- name: Build WPF Sample
run: dotnet build --configuration Release --no-restore
working-directory: samples/Lemon.ModuleNavigation.WpfSample