name: Rust
on:
push:
branches:
pull_request:
branches:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: nightly
run: rustup toolchain install nightly
- name: Build
run: cargo build --verbose
- name: Build no_thread
run: cargo build --features no_thread
- name: Build no_thread
run: cargo +nightly build --features simd
- name: Run tests
run: cargo test --lib --verbose --release