Skip to content

Commit 2187046

Browse files
committed
Install bindgen-cli in Kotlin CI
By default `rustls`, our TLS implementation of choice, uses `aws-lc-rs` which requires `bindgen` on some platforms. To allow building with `aws-lc-rs` on Android, we here install the `bindgen-cli` tool before running the bindings generation script in CI.
1 parent df47d33 commit 2187046

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/kotlin.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
- name: Generate Kotlin JVM
4040
run: ./scripts/uniffi_bindgen_generate_kotlin.sh
4141

42+
- name: Install `bindgen-cli`
43+
run: cargo install --force bindgen-cli
44+
4245
- name: Generate Kotlin Android
4346
run: ./scripts/uniffi_bindgen_generate_kotlin_android.sh
4447

0 commit comments

Comments
 (0)