enabled linters for tom example

- added -DTOM_EXAMPLE:BOOL=ON for the github actions
 - updated header-filter regex for the clang-tidy and clazy
This commit is contained in:
silverqx
2022-04-26 20:33:11 +02:00
parent 97cd174ba7
commit dc7a011de7
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -82,6 +82,7 @@ jobs:
-D MATCH_EQUAL_EXPORTED_BUILDTREE:BOOL=OFF
-D MYSQL_PING:BOOL=ON
-D BUILD_TESTS:BOOL=ON
-D TOM_EXAMPLE:BOOL=ON
- name: TinyORM cmake build ✨ (clang13-cmake-debug)
run: |
@@ -128,6 +129,6 @@ jobs:
'no-copyable-polymorphic,no-ctor-missing-parent-argument,no-function-args-by-ref,'\
'no-qstring-allocations,no-rule-of-three'
tools/run-clazy-standalone -checks="$checks" -header-filter='orm/.+\.(h|hpp)$' \
tools/run-clazy-standalone -checks="$checks" -header-filter='(orm|tom)/.+\.(h|hpp)$' \
'(?:src\/|tests\/).+\/(?!mocs_)[\w_\-\+]+\.cpp$'