Skip to content

Revise configuration docs (#7576) #9366

Revise configuration docs (#7576)

Revise configuration docs (#7576) #9366

name: Build solutions
on:
pull_request:
branches: [master]
push:
branches: [master]
merge_group:
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
config: [release, debug]
solution: [Nethermind, EthereumTests, Benchmarks]
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
submodules: ${{ matrix.solution == 'EthereumTests' }}
- name: Set up .NET
uses: actions/setup-dotnet@v4
- name: Cache dotnet packages
id: cache-dotnet
uses: actions/cache@v4
with:
# nuget cache files are stored in `~/.nuget/packages/` on Linux/macOS
path: ~/.nuget/packages/
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
restore-keys: |
${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
- name: Build ${{ matrix.solution }}.sln
run: dotnet build src/Nethermind/${{ matrix.solution }}.sln -c ${{ matrix.config }}