Add direct process noise covariance matrix #200
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 }} |