From 325d02e64197374129ac210efa9a0f50eeb588c8 Mon Sep 17 00:00:00 2001 From: mio Date: Sun, 25 Sep 2022 17:17:45 +0200 Subject: [PATCH] Use ANDROID_NDK --- .github/workflows/build-uc2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-uc2.yml b/.github/workflows/build-uc2.yml index 5f34b64f..7ee95894 100644 --- a/.github/workflows/build-uc2.yml +++ b/.github/workflows/build-uc2.yml @@ -328,9 +328,9 @@ jobs: brew install p7zip cmake ninja mkdir build mkdir instdir - cmake . -DCMAKE_TOOLCHAIN_FILE="$ANDROID_HOME/ndk/25.0.8775105/build/cmake/android.toolchain.cmake" \ + cmake . -DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK/build/cmake/android.toolchain.cmake" \ -DANDROID_PLATFORM=android-28 \ - -DANDROID_NDK="$ANDROID_HOME/ndk/25.0.8775105" \ + -DANDROID_NDK="$ANDROID_NDK" \ -DANDROID_ABI=${{ matrix.config.arch }} \ -DOLP_SDK_ENABLE_TESTING=NO \ -DOLP_SDK_BUILD_EXAMPLES=ON \