Native impls #730
Workflow file for this run
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: 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 }} |