Skip to content

Commit

Permalink
ci: setup-ndk
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Aug 30, 2024
1 parent 085dfc3 commit bad4a50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ jobs:
shell: bash
working-directory: mdk
run: |
ls ${ANDROID_HOME}
ls ${ANDROID_HOME}/ndk
MIN_API_64=21
[ $MIN_API -gt 21 ] && MIN_API_64=$MIN_API
cmake -DUSE_LTO=1 -DANDROID_LD=lld -DANDROID_ABI=${ARCH} -DANDROID_PLATFORM=android-${MIN_API_64} -DANDROID_TOOLCHAIN=clang -DANDROID_STL=c++_shared -DANDROID_PIE=ON -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_LATEST_HOME/build/cmake/android.toolchain.cmake -GNinja -H$PWD -B$PWD/build/${TARGET_OS}-${ARCH} -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=$PWD/mdk-sdk-${ARCH} -DCMAKE_VERBOSE_MAKEFILE=1
Expand All @@ -920,6 +920,7 @@ jobs:
with:
ndk-version: r25c
local-cache: true
- run: ls -l /home/runner/.setup-ndk/r25c/toolchains/llvm/prebuilt/linux-x86_64/bin
- name: Configure for armeabi-v7a
env:
ARCH: armeabi-v7a
Expand Down

0 comments on commit bad4a50

Please sign in to comment.