Ver Fonte

[action][ci] add cppcheck new feature

'--check-level=exhaustive'
这个选项可以更深入的在分支中检测,但是会耗时比较久一些。
Supper Thomas há 11 meses atrás
pai
commit
c154c24319
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      tools/ci/cpp_check.py

+ 1 - 0
tools/ci/cpp_check.py

@@ -33,6 +33,7 @@ class CPPCheck:
                     '-I thread/components/finsh',
                     # it's okay because CI will do the real compilation to check this
                     '--suppress=syntaxError',
+                    '--check-level=exhaustive',
                     '--enable=warning',
                     'performance',
                     'portability',