-
Notifications
You must be signed in to change notification settings - Fork 851
68 lines (66 loc) · 2.13 KB
/
master.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: CI
on: [push, pull_request, workflow_dispatch]
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 'true'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
net60:
name: '6.0'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- run: ./Build/CI/tests.sh
env:
BUILD_ARGS: /p:AdditionalDefineConstants=SECP256K1_VERIFY
Framework: net6.0
dotnetcore31:
name: '3.1'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'
- run: ./Build/CI/tests.sh
env:
BUILD_ARGS: /p:AdditionalDefineConstants=SECP256K1_VERIFY
Framework: netcoreapp3.1
dotnetcore60standard20:
name: '6.0 with netstandard2.0'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- run: ./Build/CI/tests.sh
env:
BUILD_ARGS: /p:TargetFrameworkOverride=netstandard2.0
Framework: net6.0
dotnetcore60macos:
name: '6.0 on Mac-OS'
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- run: ./Build/CI/tests.sh
env:
Framework: net6.0
dotnetcore60winfx:
name: '6.0 on Windows NetFramework472'
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- run: dotnet clean -c Release ./NBitcoin.Tests/NBitcoin.Tests.csproj && dotnet nuget locals all --clear
- run: dotnet test -c Release -v n ./NBitcoin.Tests/NBitcoin.Tests.csproj --filter "RestClient=RestClient|RPCClient=RPCClient|Protocol=Protocol|Core=Core|UnitTest=UnitTest|Altcoins=Altcoins|PropertyTest=PropertyTest" -p:ParallelizeTestCollections=false -f net472