1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-03 23:50:53 +02:00

No run-clang-tidy yet on CI!

pimp my GNUmakefile to do it right
This commit is contained in:
ClausKlein 2021-03-02 18:17:06 +01:00
parent a6dcfe52db
commit c122dc042f
2 changed files with 18 additions and 16 deletions

View file

@ -38,9 +38,9 @@ jobs:
cd build
ctest --build-config Debug
- name: build standalone with clang-tidy
run: |
cmake -S standalone -B build/standalone -DCMAKE_EXPORT_COMPILE_COMMANDS=1
export PATH=/usr/local/opt/llvm/bin/:${PATH}
/usr/local/opt/llvm/share/clang/run-clang-tidy.py -p build/standalone standalone ||
echo IGNORED
# - name: run clang-tidy
# run: |
# cmake -S . -B build/QS -DCMAKE_EXPORT_COMPILE_COMMANDS=1
# export PATH=/usr/local/opt/llvm/bin/:${PATH}
# /usr/local/opt/llvm/share/clang/run-clang-tidy.py -p build/QS source ||
# echo IGNORED