Skip to content

Native impls

Native impls #730

Workflow file for this run

name: Quality
on:
pull_request:
push:
branches:
- main
jobs:
clippy_check:
strategy:
matrix:
rustflags:
- "-C target-cpu=native"
- "-C target-cpu=native -C target-feature=-avx2"
- "-C target-cpu=native -C target-feature=-avx2,-pclmulqdq"
features:
- '--no-default-features'
- ''
- '--features value-no-dup-keys'
- '--features known-key'
- '--features 128bit'
- '--features beef'
- '--features beef,known-key'
- '--features beef,known-key,128bit'
- '--features approx-number-parsing'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/[email protected] # do clippy chekcs with the minimum supported version
with:
components: rustfmt, clippy
- name: Validate cargo format
run: cargo fmt -- --check
- name: Run clippy manually without annotations
env:
RUSTFLAGS: "-C target-cpu=native ${{ matrix.rustflags }}"
run: cargo clippy --all ${{ matrix.features }}