mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci: add sync ci job (#1330)
This commit is contained in:
45
.github/workflows/ci.yml
vendored
45
.github/workflows/ci.yml
vendored
@ -86,6 +86,51 @@ jobs:
|
||||
- name: Run Ethereum tests
|
||||
run: cargo run --release -- test-chain ethtests/BlockchainTests/GeneralStateTests/
|
||||
|
||||
eth-sync-release:
|
||||
name: ethereum blockchain sync (release; 100k blocks)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUST_LOG: info,sync=error
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
with:
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Run Sync (debug)
|
||||
run: cargo run --bin reth -- node --debug.tip 0x91c90676cab257a59cd956d7cb0bceb9b1a71d79755c23c7277a0697ccfaf8c4 --debug.max-block 100000
|
||||
|
||||
eth-sync-debug:
|
||||
name: ethereum blockchain sync (debug; 100k blocks)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
RUST_LOG: info,sync=error
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
profile: minimal
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
with:
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Run Sync
|
||||
run: cargo run --release --bin reth -- node --debug.tip 0x91c90676cab257a59cd956d7cb0bceb9b1a71d79755c23c7277a0697ccfaf8c4 --debug.max-block 100000
|
||||
|
||||
|
||||
fuzz:
|
||||
# Skip the Fuzzing Jobs until we make them run fast and reliably. Currently they will
|
||||
# always recompile the codebase for each test and that takes way too long.
|
||||
|
||||
Reference in New Issue
Block a user