Skip to content

Commit

Permalink
Try to fix CI
Browse files Browse the repository at this point in the history
GitHub's macOS images apparently don't have .NET 6 anymore. Skip .NET 6 tests on those.

Also, add x64 macOS CI back, so we're testing both ARM64 macOS and x64 macOS still.
  • Loading branch information
PJB3005 committed May 3, 2024
1 parent bc643a1 commit d0cff44
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ jobs:

strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
os: [windows-latest, ubuntu-latest, macos-latest, macos-latest-large]

steps:
- uses: actions/checkout@v2
- name: Test
run: dotnet test --configuration Release -v n
- name: Test .NET 6
# macOS images don't have .NET 6.
if: matrix.os != 'macos-latest' && matrix.os != 'macos-latest-large'
run: dotnet test --configuration Release --framework net6.0 -v n
- name: Test .NET 7
run: dotnet test --configuration Release --framework net7.0 -v n
- name: Test .NET 8
run: dotnet test --configuration Release --framework net8.0 -v n

0 comments on commit d0cff44

Please sign in to comment.