Skip to content

Commit c288cf7

Browse files
authored
Fix testcases for cross compilation (#1443)
Crossbuild breaks due to missing bindgen. Additionally install bindgen-cli as it is not part of the default github runnter any more.
1 parent 14e3965 commit c288cf7

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,13 @@ jobs:
241241

242242
- name: Install the cross compiler rust targets
243243
run: rustup target add ${{ matrix.target }}
244-
244+
245+
- name: Update and Install dependencies
246+
run: sudo apt-get update && sudo apt-get install -y build-essential cmake libclang1
247+
248+
- name: Install bindgen-cli
249+
run: cargo install --force --locked bindgen-cli
250+
245251
- name: Install cross compiler
246252
run: |
247253
if [ ${{ matrix.target }} = "armv7-unknown-linux-gnueabihf" ]; then

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424

2525
### Fixed
2626

27+
- [test] Missing bindgen breaks crossbuild on recent runners. Now installing latest bindgen in addition.
2728
- [core] Fix "no native root CA certificates found" on platforms unsupported
2829
by `rustls-native-certs`.
2930
- [core] Fix all APs rejecting with "TryAnotherAP" when connecting session

0 commit comments

Comments
 (0)