Skip to content

Commit

Permalink
Attempt at fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adams85 committed Apr 29, 2024
1 parent b30d4af commit 9c2f82f
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/linux-macOS-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,28 @@ jobs:
strategy:
matrix:
os: [ macos-latest, ubuntu-latest ]
dotnet-version: [ '3.1.x', '5.0.x', '6.0.x', '8.0.x' ]
include:
- dotnet-version: '3.1.x'
tfm: netcoreapp3.1
- dotnet-version: '5.0.x'
tfm: net5.0
- dotnet-version: '6.0.x'
tfm: net6.0
- dotnet-version: '8.0.x'
tfm: net8.0
exclude:
- dotnet-version: '3.1.x'
os: macos-latest
- dotnet-version: '5.0.x'
os: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
8.0.x
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore
run: dotnet restore src
- name: Test
run: |
dotnet test src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj -c Release -f netcoreapp3.1 --no-restore
dotnet test src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj -c Release -f net5.0 --no-restore
dotnet test src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj -c Release -f net6.0 --no-restore
dotnet test src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj -c Release -f net8.0 --no-restore
dotnet test src/ConfigCat.Client.Tests/ConfigCat.Client.Tests.csproj -c Release -f ${{ matrix.tfm }} --no-restore

0 comments on commit 9c2f82f

Please sign in to comment.