Skip to content

Try fix PR GHA

Try fix PR GHA #21

Workflow file for this run

name: Build PR
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build UI x86
run: dotnet build MPF/MPF.csproj -f net8.0-windows -r win-x86 -c Debug
- name: Build UI x64
run: dotnet build MPF/MPF.csproj -f net8.0-windows -r win-x64 -c Debug
- name: Build Check x86
run: dotnet build MPF.Check/MPF.Check.csproj -f net8.0 -r win-x86 -c Debug
- name: Build Check x64
run: dotnet build MPF.Check/MPF.Check.csproj -f net8.0 -r win-x64 -c Debug
- name: Build Check osx
run: dotnet build MPF.Check/MPF.Check.csproj -f net8.0 -r osx-x64 -c Debug
- name: Build Check linux
run: dotnet build MPF.Check/MPF.Check.csproj -f net8.0 -r linux-x64 -c Debug
- name: Test
run: dotnet test --no-restore --verbosity normal