mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
github-actions: add workflow for NDK build
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This commit is contained in:
committed by
Marc Kleine-Budde
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
|
||||||
Reference in New Issue
Block a user