File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 sudo apt-get update -qq
5454 sudo apt-get install -y -qq clang-format clang-tidy cppcheck
5555
56- - name : Check trailing whitespace
57- continue-on-error : true
58- run : |
59- if grep -rIn --exclude-dir=.git --exclude="*.md,*.log" "[[:blank:]]$" .; then
60- echo "Trailing whitespace detected!"
61- exit 1
62- fi
63-
6456 - name : Run clang-format (check mode)
6557 run : |
6658 find . \
7264 run : |
7365 cppcheck --enable=all --error-exitcode=1 --inline-suppr \
7466 --suppress=missingIncludeSystem \
75- --suppress=unusedFunction \
7667 --suppress=missingInclude \
7768 --suppress=cstyleCast \
7869 --suppress=constVariable \
79- -i ggml -i build -i .git \
70+ --suppress=constVariablePointer \
71+ --suppress=constParameterPointer \
72+ --suppress=variableScope \
73+ --suppress=uselessCallsSubstr \
74+ --suppress=useStlAlgorithm \
75+ --suppress=shiftNegativeLHS \
76+ -i ggml -i build -i .git -i mp3 \
8077 .
You can’t perform that action at this time.
0 commit comments