mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
ci: check that benchmarks compile (#1828)
This commit is contained in:
12
.github/workflows/bench.yml
vendored
12
.github/workflows/bench.yml
vendored
@ -53,3 +53,15 @@ jobs:
|
||||
shell: 'script -q -e -c "bash {0}"' # required to workaround /dev/tty not being available
|
||||
run: |
|
||||
./.github/scripts/compare_iai.sh
|
||||
|
||||
# Checks that benchmarks not run in CI compile
|
||||
bench-check:
|
||||
name: check
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user