fix(ci): use correct profile for iai benches (#9081)

This commit is contained in:
Alexey Shekhirin
2024-06-25 10:58:55 +01:00
committed by GitHub
parent eb5217e2ac
commit 4984bc6cc9
3 changed files with 6 additions and 2 deletions

View File

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

View File

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

View File

@ -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 }}"