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:
parent
a6dcfe52db
commit
c122dc042f
2 changed files with 18 additions and 16 deletions
12
.github/workflows/macos.yml
vendored
12
.github/workflows/macos.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue