Skip to content

Move benchmarks to own subproject #54

Move benchmarks to own subproject

Move benchmarks to own subproject #54

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust: ["1.61", stable, nightly]
steps:
- name: Installing Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
override: true
toolchain: ${{ matrix.rust }}
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --features simd
- name: Run tests
run: cargo test --verbose --features simd
no_std:
runs-on: ubuntu-latest
strategy:
matrix:
rust: [ "1.61", stable, nightly ]
steps:
- name: Installing Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
override: true
toolchain: ${{ matrix.rust }}
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --no-default-features
- name: Run tests
run: cargo test --verbose --no-default-features --tests