Skip to content

Commit

Permalink
Fix bench, add to ci
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Hoffmann <[email protected]>
  • Loading branch information
antiguru committed Apr 12, 2024
1 parent 64f785f commit 521e07d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
toolchain:
- stable
- 1.65
name: cargo test on ${{ matrix.os }}
name: cargo test on ${{ matrix.os }}, rust ${{ matrix.toolchain }}
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -41,3 +41,14 @@ jobs:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1

bench:
name: cargo bench
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
- name: Cargo bench
run: cargo +nightly bench
1 change: 0 additions & 1 deletion benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ fn vec_u_vn_s_copy_region_column(bencher: &mut Bencher) {
CollapseSequence<OwnedRegion<_>>,
CollapseSequence<StringRegion>,
>,
_,
>,
>,
_,
Expand Down

0 comments on commit 521e07d

Please sign in to comment.