CI #220
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
name: CI | |
on: | |
push: | |
pull_request: | |
schedule: [cron: "40 1 * * *"] | |
jobs: | |
test: | |
name: Rust ${{matrix.rust}} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
rust: [nightly, beta, stable, 1.58.1, 1.17.0] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{matrix.rust}} | |
profile: minimal | |
override: true | |
- run: cargo build --features bench | |
if: matrix.rust == 'nightly' | |
- run: cargo test --features bench | |
if: matrix.rust == 'nightly' | |
# - run: cargo bench --features bench | |
# if: matrix.rust == 'nightly' | |
- run: cargo build | |
- run: cargo test | |
if: matrix.rust != '1.17.0' |