Skip to content

Commit 3b23f0c

Browse files
committed
added android cmake build
is expecte to fail, due to #4444
1 parent f9e26bb commit 3b23f0c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/android-ndk-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,14 @@ jobs:
3737
RANLIB=llvm-ranlib \
3838
STRIP=llvm-strip
3939
40+
- name: Build with CMake and NDK
41+
run: |
42+
mkdir -p build-android
43+
cd build-android
44+
cmake --version
45+
cmake ../build/cmake \
46+
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake \
47+
-DANDROID_ABI=arm64-v8a \
48+
-DANDROID_PLATFORM=android-21 \
49+
-DCMAKE_BUILD_TYPE=Release
50+
cmake --build . --parallel

0 commit comments

Comments
 (0)