Check benchmarks in CI

This commit is contained in:
Trevor Gross 2024-10-21 18:35:11 -05:00
parent f770ec04b0
commit be72d14ed5
2 changed files with 5 additions and 1 deletions

View file

@ -125,7 +125,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Download musl source
run: ./ci/download-musl.sh
- run: cargo bench --all
- run: cargo bench --all --features libm-test/short-benchmarks,libm-test/build-musl
msrv:
name: Check MSRV

View file

@ -83,4 +83,8 @@ else
# unstable with a feature
$cmd --features "unstable-intrinsics"
$cmd --release --features "unstable-intrinsics"
# Make sure benchmarks have correct results
$cmd --benches
$cmd --benches --release
fi