Skip to content

Fix mac build

Fix mac build #376

Workflow file for this run

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