소스 검색

[action][ci] add cppcheck new feature

'--check-level=exhaustive'
这个选项可以更深入的在分支中检测,但是会耗时比较久一些。
Supper Thomas 1 년 전
부모
커밋
c154c24319
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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',