mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Merge pull request #4447 from facebook/android-cmake
added android cmake build
This commit is contained in:
commit
9bf5d340ae
1 changed files with 11 additions and 0 deletions
11
.github/workflows/android-ndk-build.yml
vendored
11
.github/workflows/android-ndk-build.yml
vendored
|
|
@ -37,3 +37,14 @@ jobs:
|
|||
RANLIB=llvm-ranlib \
|
||||
STRIP=llvm-strip
|
||||
|
||||
- name: Build with CMake and NDK
|
||||
run: |
|
||||
mkdir -p build-android
|
||||
cd build-android
|
||||
cmake --version
|
||||
cmake ../build/cmake \
|
||||
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake \
|
||||
-DANDROID_ABI=arm64-v8a \
|
||||
-DANDROID_PLATFORM=android-21 \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build . --parallel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue