64 lines
1.6 KiB
TOML
64 lines
1.6 KiB
TOML
skipGitea = true
|
|
[[stages]]
|
|
name = "prepare"
|
|
[stages.executor]
|
|
name = "sandbox"
|
|
[stages.executor.with.default]
|
|
args = ["cmake", "-S", ".", "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON", "-B", "build"]
|
|
env = ["PATH=/usr/bin:/bin"]
|
|
cpuLimit = 10_000_000_000
|
|
memoryLimit = 104_857_600
|
|
procLimit = 50
|
|
copyInCwd = true
|
|
copyOut = ["stdout"]
|
|
copyOutCached = ["build/compile_commands.json"]
|
|
[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 = "dummy"
|
|
[stages.parser.with]
|
|
score = 0
|
|
comment = ""
|
|
[[stages]]
|
|
name = "clang-tidy"
|
|
[stages.executor]
|
|
name = "sandbox"
|
|
[stages.executor.with.default]
|
|
args = ["bash", "-c", "clang-tidy --header-filter=.* --quiet -checks=* src/*.cpp -p build"]
|
|
env = ["PATH=/usr/bin:/bin:/usr/local/bin"]
|
|
cpuLimit = 10_000_000_000
|
|
memoryLimit = 104_857_600
|
|
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.executor.with.default.copyInCached]
|
|
"build/compile_commands.json" = "build/compile_commands.json"
|
|
[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
|