ci: Update to latest Android NDK

Move the NDK in the common Fedora image, better have 1 bigger image that
gets cached into runners. It is also less images to maintain.

Fixes: #2605
This commit is contained in:
Xavier Claessens
2022-04-26 10:50:36 -04:00
committed by Philip Withnall
parent b18fec9f23
commit 3a8622c9e1
6 changed files with 35 additions and 186 deletions

View File

@@ -0,0 +1,20 @@
[constants]
ndk_path = '/opt/android-ndk'
toolchain = ndk_path / 'toolchains/llvm/prebuilt/linux-x86_64'
[host_machine]
system = 'android'
cpu_family = 'aarch64'
cpu = 'aarch64'
endian = 'little'
[properties]
sys_root = toolchain / 'sysroot'
c_ld = 'gold'
cpp_ld = 'gold'
[binaries]
c = toolchain / 'bin/aarch64-linux-android31-clang'
cpp = toolchain / 'bin/aarch64-linux-android31-clang++'
ar = toolchain / 'bin/llvm-ar'
strip = toolchain / 'bin/llvm-strip'