1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: CI
on:
push:
branches:
pull_request:
branches:
# gsva-rust validates its port against the Bioconductor GSVA package offline:
# the synthetic-parity tests compare against reference values dumped from R at
# port time and committed as fixtures, so CI needs no R installation. (The
# real-data parity example additionally needs R plus public datasets; it is run
# locally, not in CI.) The default build pulls rayon (`parallel`) and faer
# (`faer`, the pure-Rust SVD backend used by plage); the `--no-default-features`
# build is dependency-free and pure-serial. Clippy + tests exercise both ends, and
# the MSRV job builds every feature config on the single declared minimum (1.85).
# Runs on Windows to match the development platform.
jobs:
check:
name: fmt + clippy + test (both feature configs)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Format
run: cargo fmt --all -- --check
- name: Clippy (default features)
run: cargo clippy --all-targets -- -D warnings
- name: Clippy (no default features)
run: cargo clippy --no-default-features --all-targets -- -D warnings
- name: Test (default features)
run: cargo test
- name: Test (no default features)
run: cargo test --no-default-features
msrv:
name: MSRV 1.85 (all feature configs)
runs-on: windows-latest
# MSRV is a single package-level value (1.85), set by the default build's faer
# 0.24 tree (it pulls `generativity`, which needs edition2024 / Rust 1.85).
# Cargo cannot express a per-feature MSRV, so we pin one toolchain and prove
# every feature config builds on it.
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.85.0"
- name: "Build (default: parallel + faer)"
run: cargo build
- name: Build (parallel, no faer)
run: cargo build --no-default-features --features parallel
- name: Build (zero-dependency)
run: cargo build --no-default-features