Skip to content

[workflows] Update CI build workflow for .NET8, add Windows and MacOS… #18

[workflows] Update CI build workflow for .NET8, add Windows and MacOS…

[workflows] Update CI build workflow for .NET8, add Windows and MacOS… #18

Workflow file for this run

name: Test .NET Builds
on:
push:
branches: [ mp/main ]
pull_request:
branches: [ mp/main ]
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
5.0
6.0
7.0
8.0
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
# - name: Test
# run: dotnet test --no-build --verbosity normal