-
Notifications
You must be signed in to change notification settings - Fork 40
61 lines (55 loc) · 1.86 KB
/
Github.yml
File metadata and controls
61 lines (55 loc) · 1.86 KB
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
name: Github
on: [push, pull_request]
jobs:
default:
name: Default features
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
o3:
name: O3 (BLAS / LAPACK via OpenBLAS)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install OpenBLAS / LAPACK
run: sudo apt-get update && sudo apt-get install -y libopenblas-dev liblapack-dev gfortran
- name: Build
run: cargo build --verbose --features O3-openblas
- name: Run tests
run: cargo test --verbose --features O3-openblas
pure-rust:
name: Pure-Rust feature set
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --features "arrow complex csv indexmap json num-complex parallel parquet rayon rkyv serde"
- name: Run tests
run: cargo test --verbose --features "arrow complex csv indexmap json num-complex parallel parquet rayon rkyv serde"
plot:
name: plot (pyo3 + matplotlib)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install matplotlib
run: pip install matplotlib
- name: Build
run: cargo build --verbose --features plot
- name: Run tests (compile-only doctests via no_run)
run: cargo test --verbose --features plot
clippy:
name: Clippy (all targets)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install OpenBLAS / LAPACK
run: sudo apt-get update && sudo apt-get install -y libopenblas-dev liblapack-dev gfortran
- name: Run clippy
run: cargo clippy --all-targets --no-deps --features O3-openblas