Skip to content

Commit 63f58d2

Browse files
Fix Android build in CI
1 parent b8b60dd commit 63f58d2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/test-android.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818

1919
jobs:
2020
build:
21-
runs-on: ubuntu-22.04
21+
runs-on: ubuntu-20.04
2222
steps:
2323
- name: "Install Android NDK 21.4.7075529"
2424
run: |
@@ -48,6 +48,11 @@ jobs:
4848
- name: "Install Rust Android targets"
4949
run: rustup target add x86_64-linux-android aarch64-linux-android armv7-linux-androideabi
5050

51+
- name: "Build Android library"
52+
run: |
53+
cd bdk-android
54+
./gradlew buildAndroidLib
55+
5156
# There are currently no unit tests for bdk-android and the integration tests require the macOS image
5257
# which is not working with the older NDK version we are using, so for now we just make sure that the library builds.
5358
# - name: "Run Android unit tests"

bdk-android/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,5 @@ For some older versions of macOS, Android Studio will recommend users install th
114114

115115
[`bdk`]: https://github.com/bitcoindevkit/bdk
116116
[`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi
117+
118+
Temporary line: needed to run CI

0 commit comments

Comments
 (0)