diff --git a/.github/workflows/ndk.yml b/.github/workflows/ndk.yml new file mode 100644 index 0000000..3020af1 --- /dev/null +++ b/.github/workflows/ndk.yml @@ -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