mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
bf7f1ca316
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
14 lines
192 B
Bash
14 lines
192 B
Bash
#!/bin/sh
|
|
set -ex
|
|
|
|
URL=https://dl.google.com/android/repository
|
|
|
|
download_ndk() {
|
|
mkdir /android/
|
|
cd /android
|
|
curl -fO $URL/$1
|
|
unzip -q $1
|
|
rm $1
|
|
mv android-ndk-* ndk
|
|
}
|