-
-
Notifications
You must be signed in to change notification settings - Fork 330
34 lines (32 loc) · 972 Bytes
/
dotnet.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
name: .NET
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
matrix:
os: [windows-2022, ubuntu-24.04, macos-14]
steps:
- name: Install OS dependencies
if: matrix.os == 'ubuntu-24.04'
run: sudo apt-get install -y fonts-liberation2 fonts-noto-core fonts-noto-cjk
- uses: actions/checkout@v4
- name: Setup .NET 9 (daily)
if: matrix.os == 'windows-2022'
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
dotnet-quality: daily
- name: Setup .NET 9
if: matrix.os != 'windows-2022'
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Install workloads
if: matrix.os == 'macos-14'
run: dotnet workload install macos
- name: Build
run: dotnet run --project NAPS2.Tools -- build debug -v
- name: Test
run: dotnet run --project NAPS2.Tools -- test -v --nogui