Skip to content

release v2.0.0

release v2.0.0 #79

Workflow file for this run

on:
pull_request:
push:
branches:
- master
name: Continuous integration
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
- uses: actions-rs/cargo@v1
with:
command: check
args: --workspace
check_avx:
name: Check AVX
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
- uses: actions-rs/cargo@v1
env:
RUSTFLAGS: "-C target-cpu=native"
with:
command: check
args: --features avx --workspace
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
- name: Test with default features
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
test_avx:
name: Test AVX
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
- name: Test with avx feature
uses: actions-rs/cargo@v1
env:
RUSTFLAGS: "-C target-cpu=native"
with:
command: test
args: --workspace --features avx
test_windows:
name: Test Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Rust Cache
uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2
- uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --exclude fuzzit
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --all-features -- -D warnings