about summary refs log tree commit diff
path: root/src/ci/docker/host-x86_64/dist-android/Dockerfile
AgeCommit message (Collapse)AuthorLines
2025-05-21add missing PATHonur-ozkan-0/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-11-28Bump unsupported `ubuntu` CI images to 24.04 LTSrami3l-1/+1
2024-07-26Update Android testing to API 21, matching NDK 26Matthew Maurer-1/+1
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 (#120326). Update to the current LTS NDK 26, and to its minimum supported API 21. Fixes: #120567
2023-10-23Improve android-ndk property interfacePeter Collingbourne-6/+1
PR #105716 added support for NDK r25b, and removed support for r15. Since the switch to r25b would have broken existing r15 users anyway, let's take the opportunity to make the interface more user friendly. Firstly move the android-ndk property to [build] instead of the targets. This is possible now that the NDK has obsoleted the concept of target-specific toolchains. Also make the property take the NDK root directory instead of the "toolchains/llvm/prebuilt/<host tag>" subdirectory.
2023-09-16Bump to supported UbuntuMark Rousskov-1/+1
The 22.10 Ubuntu repositories were returning 404s in last stable build.
2022-12-14Update CI to use Android NDK r25bChris Wailes-15/+8
This commit updates the CI definitions to use the most recent Android LTS NDK release: r25b. Changes since the last NDK used by Rust negate the need to generate "standalone toolchains" and newer NDKs can be used in-place. See https://developer.android.com/ndk/guides/other_build_systems#overview
2022-11-19Revert "Update CI to use Android NDK r25b"Alex Pinkus-7/+14
This reverts commit bf7f1ca316a249cf99d722d79a0db12fef687142.
2022-10-04Update CI to use Android NDK r25bChris Wailes-14/+7
This commit updates the CI definitions to use the most recent Android LTS NDK release: r25b. Changes since the last NDK used by Rust negate the need to generate "standalone toolchains" and newer NDKs can be used in-place. See https://developer.android.com/ndk/guides/other_build_systems#overview
2022-08-23ci: Upgrade android containers from ubuntu:16.04 to 22.04Josh Stone-6/+2
2022-08-09Allow old toolchain on some imagesNikita Popov-1/+2
LLVM 16 will require GCC >= 7.1. For now, set the flag that allows using an older toolchain.
2021-03-16ci/docker: Add SDK/NDK level 21 to android docker for 32bit platformsDaniel Silverstone-0/+2
Certain features of Linux (getauxval() and epoll_create1()) are only available in android SDK/NDK levels 18 and 21 respectively. The 32bit platform is currently on level 14 for compatibility with Android 4.0. This patch adds SDK/NDK level 21 to the docker for 32 bit platforms, while leaving the default setup at level 14. With this done, projects such as `rustup` which rely on these dockers can build with modern ecosystem crates such as tokio 1.0, by using the level 21 toolchain, but those which do not need to switch will be unaffected, since the level 14 toolchain remains available. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2021-03-01Build newer version of cmake in Docker imagesNikita Popov-0/+3
LLVM requires CMake 3.13.4, which is only available as of Ubuntu 20.04. On images using an older version, build it manually.
2020-09-29Use --host='' instead of --host ''Tyler Mandry-1/+1
Trying to fix a problem in CI. Maybe some version of Docker is not passing '' args correctly?
2020-09-28Update CI scripts to accommodate --host changeTyler Mandry-1/+1
2020-07-03ci: move all x86_64 runners to the host-x86_64 directoryPietro Albini-0/+38
We need to add runners designed for an aarch64 host system, and it'd be nice to return an error message if someone tries to run an image designed for an host architecture in another one. To start the work on this, this commit moves all the existing builders in the host-x86_64 directory, and changes the run.sh script to look up the image in the correct directory based on the host architecture.