Skip to content

fix: store checkpoint complex values as fixed arrays #7

fix: store checkpoint complex values as fixed arrays

fix: store checkpoint complex values as fixed arrays #7

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: python -m venv .venv
- run: . .venv/bin/activate && python -m pip install maturin pytest numpy
- run: cargo clippy -- -D warnings
- run: cargo test
- run: cargo check
- name: Install HDF5
run: sudo apt-get update && sudo apt-get install -y libhdf5-dev
- run: cargo test --features checkpoint-hdf5
- run: cargo clippy --features checkpoint-hdf5 -- -D warnings
- run: . .venv/bin/activate && maturin develop
- run: . .venv/bin/activate && pytest tests/python -q
- name: Header drift check
run: |
cargo install cbindgen --locked
cbindgen --config cbindgen.toml --output /tmp/kore_check.h
diff include/kore.h /tmp/kore_check.h