Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
jeandudey committed Oct 31, 2024
1 parent b2f5ef7 commit 422b56b
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
@@ -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]

0 comments on commit 422b56b

Please sign in to comment.