Skip to content

Move CI to GitHub actions (#740) #1

Move CI to GitHub actions (#740)

Move CI to GitHub actions (#740) #1

name: Build and Test
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test -c Release -f net6.0 --no-build --verbosity normal