Repository navigation
52 lines (50 loc) · 1.75 KB
/
Copy pathCI.yml
File metadata and controls
52 lines (50 loc) · 1.75 KB
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
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:
net100:
name: '10.0'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./Build/CI/install-env.sh
env:
DOTNET_INSTALL_DIR: /usr/share/dotnet
ADDITIONAL_RUNTIME: 10.0.11
- run: ./Build/CI/tests.sh
env:
BUILD_ARGS: /p:AdditionalDefineConstants=SECP256K1_VERIFY
Framework: net10.0
dotnetcore100standard20:
name: '10.0 with netstandard2.0'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./Build/CI/install-env.sh
env:
DOTNET_INSTALL_DIR: /usr/share/dotnet
ADDITIONAL_RUNTIME: 10.0.11
- run: ./Build/CI/tests.sh
env:
BUILD_ARGS: /p:TargetFrameworkOverride=netstandard2.0
Framework: net10.0
dotnetcore100macos:
name: '10.0 on Mac-OS'
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- run: ./Build/CI/install-env.sh
env:
ADDITIONAL_RUNTIME: 10.0.11
- run: ./Build/CI/tests.sh
env:
Framework: net10.0
dotnetcore100winfx:
name: '10.0 on Windows NetFramework472'
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- 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