Skip to content

Commit d0cff44

Browse files
committed
Try to fix CI
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.
1 parent bc643a1 commit d0cff44

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
os: [windows-latest, ubuntu-latest, macos-latest]
15+
os: [windows-latest, ubuntu-latest, macos-latest, macos-latest-large]
1616

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

0 commit comments

Comments
 (0)