36 lines
995 B
TOML
36 lines
995 B
TOML
skipGitea = true
|
|
[[stages]]
|
|
name = "clang-tidy"
|
|
[stages.executor]
|
|
name = "sandbox"
|
|
[stages.executor.with.default]
|
|
args = ["bash", "-c", "cmake -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -B build && clang-tidy --header-filter=.* --quiet -checks=* src/*.cpp -p build"]
|
|
env = ["PATH=/usr/bin:/bin:/usr/local/bin"]
|
|
cpuLimit = 10_000_000_000
|
|
memoryLimit = 419_430_400
|
|
procLimit = 50
|
|
copyInCwd = true
|
|
copyOut = ["stdout"]
|
|
[stages.executor.with.default.stdin]
|
|
content = ""
|
|
[stages.executor.with.default.stdout]
|
|
name = "stdout"
|
|
max = 65_536
|
|
[stages.executor.with.default.stderr]
|
|
name = "stderr"
|
|
max = 65_536
|
|
[stages.parser]
|
|
name = "clang-tidy"
|
|
[stages.parser.with]
|
|
score = 100
|
|
rootdir = "/w"
|
|
[[stages.parser.with.matches]]
|
|
keyword = ["cppcoreguidelines-avoid-non-const-global-variables"]
|
|
score = 5
|
|
[[stages.parser.with.matches]]
|
|
keyword = ["readability-identifier-length","misc-use-anonymous-namespace"]
|
|
score = 2
|
|
[[stages.parser.with.matches]]
|
|
keyword = ["llvmlibc-implementation-in-namespace"]
|
|
score = 1
|