Feature/configurable state pivot distance #10294
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: 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 }} |