From: Yann Collet Date: Wed, 23 Jul 2025 21:54:18 +0000 (-0700) Subject: added android cmake build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fandroid-cmake;p=thirdparty%2Fzstd.git added android cmake build is expecte to fail, due to #4444 --- diff --git a/.github/workflows/android-ndk-build.yml b/.github/workflows/android-ndk-build.yml index 7ba3958b8..395359fda 100644 --- a/.github/workflows/android-ndk-build.yml +++ b/.github/workflows/android-ndk-build.yml @@ -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