Skip to content

Commit

Permalink
SFT-4358: Check for stale FFI bindings.
Browse files Browse the repository at this point in the history
* .github/workflows/lint.yaml (is-foundation-header-up-to-date): New job.
  • Loading branch information
jeandudey committed Oct 31, 2024
1 parent 3789359 commit 82eda26
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@ jobs:
--verify \
extmod/foundation-rust/
stm32h7xx-hal-driver-sys-up-to-date:
name: Are stm32h7xx-hal-driver-sys bindings up to date?
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/rust-toolchain
with:
toolchain: 1.77.1
- run: sudo apt-get install -y gcc-arm-none-eabi libclang-dev
- run: cargo install bindgen-cli@^0.69.4 --locked
- run: ./extmod/foundation-rust/stm32h7xx-hal-driver-sys/bindgen.sh -c

rust-tests-pass:
name: Rust tests pass?
needs: [rust-code-compiles]
Expand Down

0 comments on commit 82eda26

Please sign in to comment.