feat(conf.toml): cppcheck commands
This commit is contained in:
parent
b8cfb31288
commit
10d9e91c62
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
clangtidy_result.json
|
|
|
@ -4,7 +4,7 @@ name = "clangtidy"
|
||||||
[stages.executor]
|
[stages.executor]
|
||||||
name = "sandbox"
|
name = "sandbox"
|
||||||
[stages.executor.with.default]
|
[stages.executor.with.default]
|
||||||
args = ["bash", "-c", "cmake -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -B build && clang-tidy-18 --header-filter=.* --quiet -checks=* src/*.cpp -p build"]
|
args = ["cppcheck --template='{\"file\":\"{file}\",\"line\":{line}, \"column\":{column}, \"severity\":\"{severity}\", \"message\":\"{message}\", \"id\":\"{id}\"},' --force --enable=all --quiet src/*.cpp"]
|
||||||
env = ["PATH=/usr/bin:/bin:/usr/local/bin"]
|
env = ["PATH=/usr/bin:/bin:/usr/local/bin"]
|
||||||
cpuLimit = 10_000_000_000
|
cpuLimit = 10_000_000_000
|
||||||
memoryLimit = 419_430_400
|
memoryLimit = 419_430_400
|
||||||
|
@ -20,7 +20,7 @@ max = 65_536
|
||||||
name = "stderr"
|
name = "stderr"
|
||||||
max = 65_536
|
max = 65_536
|
||||||
[stages.parser]
|
[stages.parser]
|
||||||
name = "clangtidy"
|
name = "cppcheck"
|
||||||
[stages.parser.with]
|
[stages.parser.with]
|
||||||
score = 100
|
score = 100
|
||||||
rootdir = "/w"
|
rootdir = "/w"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user