-
Notifications
You must be signed in to change notification settings - Fork 2
22 lines (22 loc) · 798 Bytes
/
Copy pathci.yml
File metadata and controls
22 lines (22 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: ci
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
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