Skip to content

Add direct process noise covariance matrix #194

Add direct process noise covariance matrix

Add direct process noise covariance matrix #194

---
name: STM32F303 Cross-Compilation
on:
push:
branches: [ "main" ]
paths:
- 'Cargo.toml'
- 'Cargo.lock'
- 'build.rs'
- 'crates/**'
- 'xbuild-tests/**'
- '.github/workflows/rust.yml'
pull_request:
branches: [ "main" ]
paths:
- 'Cargo.toml'
- 'Cargo.lock'
- 'build.rs'
- 'crates/**'
- 'xbuild-tests/**'
- '.github/workflows/rust.yml'
env:
CARGO_TERM_COLOR: always
defaults:
run:
working-directory: xbuild-tests/stm32
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
continue-on-error: true # Allow for the cross-builds
steps:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rust-src
target: thumbv7em-none-eabihf
- uses: actions/checkout@v4
- name: Check format
run: cargo fmt --check
- name: Check
run: cargo check
- name: Clippy
run: cargo clippy
- name: Build documentation
run: cargo doc
build:
needs: lint
name: Build and Test
runs-on: ubuntu-latest
strategy:
matrix:
feature:
- kalman-float
- kalman-fixed
steps:
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rust-src
target: thumbv7em-none-eabihf
- uses: actions/checkout@v4
- name: Build
run: cargo build --no-default-features --features=${{ matrix.feature }}