Skip to content

Commit

Permalink
Check benchmarks in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Oct 22, 2024
1 parent a987c65 commit 6ee7a75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
run: rustup update nightly --no-self-update && rustup default nightly
- name: Download MUSL source
run: ./ci/download-musl.sh
- run: cargo bench --all
- run: cargo bench --all --features libm-test/short-benchmarks

success:
needs:
Expand Down
4 changes: 4 additions & 0 deletions ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,8 @@ else
# unstable with a feature
$cmd --features 'unstable'
$cmd --release --features 'unstable'

# Make sure benchmarks have correct results
$cmd --benches
$cmd --benches --release
fi

0 comments on commit 6ee7a75

Please sign in to comment.