Skip to content

docs(readme): cut volfi defensive crouch; collapse to headline + one … #15

docs(readme): cut volfi defensive crouch; collapse to headline + one …

docs(readme): cut volfi defensive crouch; collapse to headline + one … #15

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
env:
# CI runners are generic x86-64; the repo's .cargo/config.toml
# pins target-cpu=znver5 for local AVX-512 codegen, which SIGILLs
# on the Actions runner CPU. Override to a portable baseline that
# still keeps AVX2 so the lints + tests are meaningful.
RUSTFLAGS: "-C target-cpu=x86-64-v3"
steps:
- uses: actions/checkout@v5
- name: install pinned nightly (voltic core uses std::simd)
# Pinned snapshot. The unpinned `nightly` channel drifts rustfmt
# and clippy rules between runs, which has historically broken
# CI on unchanged code. Bump deliberately, not by accident.
run: |
rustup toolchain install nightly-2026-05-12 --profile minimal --component rustfmt,clippy
rustup default nightly-2026-05-12
- run: cargo fmt --check
- run: cargo clippy --all-targets -- -D warnings
- run: cargo test --release
- name: quick benchmark smoke run
run: cargo run --release --bin bench -- --n 20000