mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
fix(ci): use correct profile for iai benches (#9081)
This commit is contained in:
4
.github/workflows/bench.yml
vendored
4
.github/workflows/bench.yml
vendored
@ -51,10 +51,10 @@ jobs:
|
||||
- name: Generate test vectors
|
||||
run: cargo run --bin reth -- test-vectors tables
|
||||
- name: Save baseline
|
||||
run: cargo bench -p reth-db --bench iai --features test-utils -- --save-baseline=$BASELINE
|
||||
run: cargo bench -p reth-db --bench iai --profile profiling --features test-utils -- --save-baseline=$BASELINE
|
||||
- name: Checkout PR
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
clean: false
|
||||
- name: Compare PR benchmarks
|
||||
run: cargo bench -p reth-db --bench iai --features test-utils -- --baseline=$BASELINE
|
||||
run: cargo bench -p reth-db --bench iai --profile profiling --features test-utils -- --baseline=$BASELINE
|
||||
|
||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -42,6 +42,8 @@ jobs:
|
||||
with:
|
||||
cache-on-failure: true
|
||||
- uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: cargo clippy --workspace --lib --examples --tests --benches --all-features --locked
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
|
||||
2
.github/workflows/unit.yml
vendored
2
.github/workflows/unit.yml
vendored
@ -85,6 +85,8 @@ jobs:
|
||||
with:
|
||||
cache-on-failure: true
|
||||
- uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Run doctests
|
||||
run: cargo test --doc --workspace --features "${{ matrix.network }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user