.github/workflows/build_android.yml: switch to the installed NDK r27

This commit is contained in:
Max Kellermann 2025-03-13 11:32:07 +01:00
parent 1b6567b31b
commit 42fc26cc6d

@ -43,16 +43,11 @@ jobs:
with:
key: android
# todo: remove once NDK 27 is out of beta
- name: Install Beta NDK
run: |
echo y | ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager "ndk;27.0.12077973"
- name: Build
run: |
mkdir -p output/android
cd ./output/android
../../android/build.py $ANDROID_SDK_ROOT $ANDROID_SDK_ROOT/ndk/27.0.12077973 arm64-v8a \
../../android/build.py $ANDROID_SDK_ROOT $ANDROID_NDK_HOME arm64-v8a \
--buildtype=debugoptimized -Db_ndebug=true \
-Dwrap_mode=forcefallback