Skip to content

Commit

Permalink
Fix bench, check it in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Sep 12, 2024
1 parent 649bce4 commit 00aa2b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ mod wire {
sack_permitted: false,
sack_ranges: [None, None, None],
payload: &PAYLOAD_BYTES,
timestamp: None,
};
let mut bytes = vec![0xa5; repr.buffer_len()];

Expand Down
6 changes: 6 additions & 0 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ check() {
for features in ${FEATURES_CHECK[@]}; do
cargo +$version check --no-default-features --features "$features"
done

cargo +$version check --examples

if [[ $version == "nightly" ]]; then
cargo +$version check --benches
fi
}

clippy() {
Expand Down

0 comments on commit 00aa2b4

Please sign in to comment.