Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run-cppcheck.bat で cppcheck に -j オプションを渡して複数のソースを同時にチェックする #373

Closed
m-tmatma opened this issue Aug 26, 2018 · 2 comments
Labels
🚅 speed up 🚀 高速化 CI appveyor など CI 関連 【ChangeLog除外】 cppcheck
Milestone

Comments

@m-tmatma
Copy link
Member

run-cppcheck.bat で cppcheck に -j オプションを渡して複数のソースを同時にチェックする

#372 の後で実施

@m-tmatma m-tmatma added 🚅 speed up 🚀 高速化 CI appveyor など CI 関連 【ChangeLog除外】 cppcheck labels Aug 26, 2018
@m-tmatma
Copy link
Member Author

set CPPCHECK_PARAMS=%CPPCHECK_PARAMS% -j %NUMBER_OF_PROCESSORS%
を追加すればよい。

@m-tmatma
Copy link
Member Author

rebase しました。
appveyor 上で 1分19秒で実行できている。

[00:01:24] ---- start run-cppcheck.bat ----
[00:01:24] "C:\Program Files\Cppcheck\cppcheck.exe"  --force --enable=all --xml --platform=win32W --output-file=cppcheck-Win32-Release.xml -j 2 C:\projects\sakura\sakura_core
[00:02:43] 
[00:02:43] The log files are cppcheck-Win32-Release.log and cppcheck-Win32-Release.xml
[00:02:43] cppcheck success
[00:02:43] ---- end   run-cppcheck.bat ----

@ds14050 ds14050 added CI appveyor など CI 関連 【ChangeLog除外】 🚅 speed up 🚀 高速化 cppcheck labels Sep 18, 2018
@m-tmatma m-tmatma added this to the next release milestone Oct 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚅 speed up 🚀 高速化 CI appveyor など CI 関連 【ChangeLog除外】 cppcheck
Projects
None yet
Development

No branches or pull requests

2 participants