Skip to content

Commit 4e1dab1

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

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,13 @@ 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 ../build/cmake \
45+
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake \
46+
-DANDROID_ABI=arm64-v8a \
47+
-DANDROID_PLATFORM=android-21 \
48+
-DCMAKE_BUILD_TYPE=Release
49+
cmake --build . --parallel

0 commit comments

Comments
 (0)