ci: add sync ci job (#1330)

This commit is contained in:
joshieDo
2023-02-14 12:10:51 +08:00
committed by GitHub
parent 48d121dc54
commit 5c62149b83

View File

@ -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.