mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 22:38:27 +08:00
Github Actions Net5.0 (#1)
* Try integrating dotnet setup version into build matrix. * Another attempt * change matrix. * don't add dotnet-sdk as main matrix variable * remove test framework as well. * or maybe not * Fix copy paste mixup
This commit is contained in:
21
.github/workflows/test.yml
vendored
21
.github/workflows/test.yml
vendored
@@ -18,11 +18,30 @@ jobs:
|
||||
test-framework: [netcoreapp3.1, net5.0]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
test-framework: netcoreapp3.1
|
||||
installSnap7: true
|
||||
dotnet-sdk: '3.1.x'
|
||||
- os: ubuntu-latest
|
||||
test-framework: net5.0
|
||||
installSnap7: true
|
||||
dotnet-sdk: '5.0.x'
|
||||
- os: macos-latest
|
||||
test-framework: netcoreapp3.1
|
||||
installSnap7: true
|
||||
dotnet-sdk: '3.1.x'
|
||||
- os: macos-latest
|
||||
test-framework: net5.0
|
||||
installSnap7: true
|
||||
dotnet-sdk: '5.0.x'
|
||||
- os: windows-latest
|
||||
test-framework: netcoreapp3.1
|
||||
dotnet-sdk: '3.1.x'
|
||||
- os: windows-latest
|
||||
test-framework: net5.0
|
||||
dotnet-sdk: '5.0.x'
|
||||
- os: windows-latest
|
||||
test-framework: net452
|
||||
dotnet-sdk: '5.0.x'
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
@@ -43,7 +62,7 @@ jobs:
|
||||
- name: Setup Dotnet
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: '5.0.x' # SDK Version to use; x will use the latest version of the 3.1 channel
|
||||
dotnet-version: ${{ matrix.dotnet-sdk }}
|
||||
|
||||
- name: Restore
|
||||
run: dotnet restore S7.Net.UnitTest
|
||||
|
||||
Reference in New Issue
Block a user