Bump C# Lang Version #1053
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- run: ./Build/CI/install-env.sh | |
env: | |
ADDITIONAL_RUNTIME: 6.0.36 | |
- 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' | |
- run: ./Build/CI/install-env.sh | |
env: | |
ADDITIONAL_RUNTIME: 3.1.32 | |
- 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 | |
- run: ./Build/CI/install-env.sh | |
env: | |
ADDITIONAL_RUNTIME: 6.0.36 | |
- 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 | |
- run: ./Build/CI/install-env.sh | |
env: | |
ADDITIONAL_RUNTIME: 6.0.36 | |
- 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 | |
- run: ./Build/CI/install-env.sh | |
- 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 |