Skip to content

Commit 8a670cb

Browse files
author
blu3beri
committed
build(android): use custom cross images
Signed-off-by: blu3beri <[email protected]>
1 parent 4c54a62 commit 8a670cb

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,9 @@ jobs:
337337
build-android:
338338
name: Build library (Android)
339339
needs: [checks]
340+
env:
341+
RUST_VERSION: "1.64.0" # Overriding the rust version here for lower NDK support
342+
340343
runs-on: ubuntu-latest
341344
strategy:
342345
matrix:

Cross.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ image = "ghcr.io/rust-cross/manylinux2014-cross:aarch64"
55
image = "ghcr.io/rust-cross/manylinux2014-cross:x86_64"
66

77
[target.x86_64-linux-android]
8-
image = "ghcr.io/cross-rs/x86_64-linux-android:main"
8+
image = "ghcr.io/hyperledger/aries-builder-images/cross/x86_64-linux-android:main"
99

1010
[target.i686-linux-android]
11-
image = "ghcr.io/cross-rs/i686-linux-android:main"
11+
image = "ghcr.io/hyperledger/aries-builder-images/cross/i686-linux-android:main"
1212

1313
[target.aarch64-linux-android]
14-
image = "ghcr.io/cross-rs/aarch64-linux-android:main"
14+
image = "ghcr.io/hyperledger/aries-builder-images/cross/aarch64-linux-android:main"
1515

1616
[target.armv7-linux-androideabi]
17-
image = "ghcr.io/cross-rs/armv7-linux-androideabi:main"
17+
image = "ghcr.io/hyperledger/aries-builder-images/cross/armv7-linux-androideabi:main"

0 commit comments

Comments
 (0)