Make the output type dynamic. #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Build benchmarks | |
jobs: | |
build_benches: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
rust: | |
- stable | |
- beta | |
- nightly | |
- 1.77.0 # MSRV for tests | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
env: | |
RUSTFLAGS: "-D warnings" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.rust }} | |
- name: Build (no default features) | |
run: cargo bench --no-run --verbose --all --no-default-features | |
- name: Build (log feature) | |
run: cargo bench --no-run --verbose --all --no-default-features --features=log | |
- name: Build (all features) | |
run: cargo bench --no-run --verbose --all --all-features | |
- name: Build (default features) | |
run: cargo bench --no-run --verbose --all |