All checks were successful
build / build (push) Successful in 2m32s
## What I have done: - basic generation of json files - supported parsers: - healthcheck - result-detail - result-status - file - log - dummy - keyword (keyword, clangtidy, cppcheck, cpplint) - diff - `convert` functions is mature, tested in engr151-24fa last two homeworks and engr151-24fa p3 - teapot and healthcheck should be up to date ## TODO - update all new comming parsers in future. @bomingzh Could you please help me do a code review first then I shall fix all things and rebase? I checked the source code of JOJ3 currently, and find we have more parsers, such as plugin and tierscore, I haven''t added them yet, and some of the keys might have changed such as clang-tidy, can you help me take a look if current version is still up to date? I ll redo the fix tomorrow Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn> Reviewed-on: #10 Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn> Co-authored-by: jon-lee <jon-lee@sjtu.edu.cn> Co-committed-by: jon-lee <jon-lee@sjtu.edu.cn>
21 lines
1.2 KiB
TOML
21 lines
1.2 KiB
TOML
# general task configuration
|
|
task.name = "hw7 ex2" # task name
|
|
task.type = "homework/h7/e2" # remove this task type later
|
|
|
|
release.end_time = 2024-12-30 23:59:59+08:00
|
|
release.begin_time = 2024-12-29 23:59:59+08:00
|
|
|
|
[[stages]]
|
|
name = "[cq] Clang-tidy"
|
|
command = "run-clang-tidy-18 -header-filter=.* -quiet -load=/usr/local/lib/libcodequality.so -p h7/build h7/ex2.cpp"
|
|
files.import = [ "tests/homework/h7/.clang-tidy", "h7/build/compile_commands.json" ]
|
|
limit.stdout = "65m"
|
|
|
|
parsers = [ "clangtidy", "result-detail" ]
|
|
clangtidy.keyword = [ "codequality-unchecked-malloc-result", "codequality-no-global-variables", "codequality-no-header-guard", "codequality-no-fflush-stdin", "readability-function-size", "readability-duplicate-include", "readability-identifier-naming", "readability-redundant", "readability-misleading-indentation", "readability-misplaced-array-index", "cppcoreguidelines-init-variables", "bugprone-suspicious-string-compare", "google-global-names-in-headers", "clang-diagnostic", "clang-analyzer", "misc", "performance", "portability" ]
|
|
clangtidy.weight = [ 5, 20, 20, 20, 10, 5, 5, 5, 15, 5, 5, 5, 5, 5, 5, 5, 5, 5]
|
|
result-detail.exitstatus = true
|
|
result-detail.stdout = true
|
|
result-detail.time = false
|
|
result-detail.mem = false
|