Compile the benchmarks in CI

This commit is contained in:
François Garillot
2020-09-03 15:58:40 -04:00
parent 81353cb844
commit b673f840a5
+20
View File
@@ -32,6 +32,26 @@ jobs:
command: test
args: --no-default-features --features ${{ matrix.backend_feature }}
benches:
name: cargo bench compilation
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo bench --no-run
uses: actions-rs/cargo@v1
with:
command: bench
args: --features "bench" --no-run
clippy:
name: cargo clippy
runs-on: ubuntu-latest