github-actions: add workflow for NDK build

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
pull/527/head
Yegor Yefremov 2024-05-29 20:24:12 +02:00 committed by Marc Kleine-Budde
parent 4597b054e2
commit 8fdd8f9a5a
1 changed files with 15 additions and 0 deletions

15
.github/workflows/ndk.yml vendored 100644
View File

@ -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