Add clang-tidy config and CMake/CI support.

This commit is contained in:
Pierre Wendling
2022-10-25 23:26:42 -04:00
committed by Sam Lantinga
parent 5fded632d6
commit fa8fba3812
6 changed files with 211 additions and 6 deletions

View File

@@ -40,6 +40,7 @@ jobs:
-Wdeprecated -Wdev -Werror \
-DCMAKE_TOOLCHAIN_FILE=${{ steps.setup_ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake \
-DSDL_WERROR=ON \
-DSDL_CLANG_TIDY=ON \
-DANDROID_PLATFORM=${{ matrix.platform.android_platform }} \
-DANDROID_ABI=${{ matrix.platform.android_abi }} \
-DSDL_STATIC_PIC=ON \