Skip to content

Commit 46bd270

Browse files
committed
Update Android testing to API 21, matching NDK 26
We were running testing on API 18, which was already out of support for NDK 25, and some of the ancient behavior in that image was causing trouble when developing `rustc` features (rust-lang#120326). We'll be updating to NDK 26 (latest LTS) shortly, so rather than updating to API 19, then again to API 21 in a bit, just jump straight to 21. Fixes: rust-lang#120567
1 parent bf3c6c5 commit 46bd270

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
- self-hosted
194194
- ARM64
195195
- linux
196-
- name: arm-android
196+
- name: aarch64-android
197197
os: ubuntu-20.04-8core-32gb
198198
env: {}
199199
- name: armhf-gnu

src/ci/docker/host-x86_64/arm-android/Dockerfile renamed to src/ci/docker/host-x86_64/aarch64-android/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN dpkg --add-architecture i386 && \
2121

2222
COPY scripts/android-sdk.sh /scripts/
2323
COPY scripts/android-sdk-manager.py /scripts/
24-
COPY host-x86_64/arm-android/android-sdk.lock /android/sdk/android-sdk.lock
24+
COPY host-x86_64/aarch64-android/android-sdk.lock /android/sdk/android-sdk.lock
2525
RUN /scripts/android-sdk.sh
2626

2727
ENV PATH=$PATH:/android/sdk/emulator
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
emulator emulator-linux_x64-11237101.zip 0fd36dd5a7be6ee8770776a95c2933541d9243f3
2+
patcher;v4 3534162-studio.sdk-patcher.zip 046699c5e2716ae11d77e0bad814f7f33fab261e
3+
platform-tools platform-tools_r34.0.5-linux.zip 96097475cf7b279fdd8f218f5d043ffe94104ec3
4+
platforms;android-21 android-21_r02.zip 53536556059bb29ae82f414fd2e14bc335a4eb4c
5+
system-images;android-21;default;arm64-v8a sys-img/android/arm64-v8a-21_r04.zip c4375f1b4b4cd21a8617660e25f621cedcbd8332
6+
tools sdk-tools-linux-4333796.zip 8c7c28554a32318461802c1291d76fccfafde054

src/ci/docker/host-x86_64/arm-android/android-sdk.lock

-6
This file was deleted.

src/ci/github-actions/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ jobs:
360360
- name: aarch64-gnu
361361
<<: *job-aarch64-linux
362362

363-
- name: arm-android
363+
- name: aarch64-android
364364
<<: *job-linux-8c
365365

366366
- name: armhf-gnu

0 commit comments

Comments
 (0)