Skip to content

Add GitHub Actions workflow for PR testing #2

Add GitHub Actions workflow for PR testing

Add GitHub Actions workflow for PR testing #2

Workflow file for this run

on:
pull_request: {}
workflow_dispatch: {}
jobs:
pr-test:
runs-on: ${{ matrix.os.runs-on }}
strategy:
fail-fast: false
matrix:
os:
- runs-on: windows-latest
arch: win-x64
- runs-on: windows-11-arm
arch: win-arm64
- runs-on: macos-13
arch: osx-x64
- runs-on: macos-15
arch: osx-arm64
- runs-on: ubuntu-latest
arch: linux-x64
- runs-on: ubuntu-24.04-arm
arch: linux-arm64
steps:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
8.0.x
- name: restore
run: dotnet restore
- name: test
run: dotnet test