mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci: run bench on large runner (#3889)
This commit is contained in:
9
.github/workflows/bench.yml
vendored
9
.github/workflows/bench.yml
vendored
@ -15,7 +15,8 @@ concurrency:
|
||||
name: bench
|
||||
jobs:
|
||||
iai:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on:
|
||||
group: Reth
|
||||
# Only run benchmarks in merge groups
|
||||
if: github.event_name != 'pull_request'
|
||||
steps:
|
||||
@ -62,15 +63,15 @@ jobs:
|
||||
# Checks that benchmarks not run in CI compile
|
||||
bench-check:
|
||||
name: check
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on:
|
||||
group: Reth
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Check if benchmarks build
|
||||
run: cargo bench --all --all-features --all-targets --no-run
|
||||
|
||||
run: cargo check --workspace --benches --all-features
|
||||
|
||||
bench-success:
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user