Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit f951c18

Browse files
committed
Check benchmarks in CI
1 parent b2a0b82 commit f951c18

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
- uses: Swatinem/rust-cache@v2
126126
- name: Download musl source
127127
run: ./ci/download-musl.sh
128-
- run: cargo bench --all
128+
- run: cargo bench --all --features libm-test/short-benchmarks,libm-test/build-musl
129129

130130
msrv:
131131
name: Check MSRV

ci/run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,8 @@ else
8383
# unstable with a feature
8484
$cmd --features "unstable-intrinsics"
8585
$cmd --release --features "unstable-intrinsics"
86+
87+
# Make sure benchmarks have correct results
88+
$cmd --benches
89+
$cmd --benches --release
8690
fi

0 commit comments

Comments
 (0)