github-actions: add workflow for NDK build
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>pull/527/head
parent
4597b054e2
commit
8fdd8f9a5a
|
|
@ -0,0 +1,15 @@
|
|||
name: NDK
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: CMake and NDK
|
||||
run: |
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_WERROR=ON -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake -B build
|
||||
cmake --build build
|
||||
Loading…
Reference in New Issue