fix(CMakeLists.txt,-conf.toml,-expected.json): Update config files

This commit is contained in:
张佳澈520370910044 2024-05-05 20:49:34 +08:00
parent a2c3c2f914
commit 267f23cc74
3 changed files with 5 additions and 5 deletions

View File

@ -2,4 +2,4 @@ cmake_minimum_required(VERSION 3.0)
project(MyProject) project(MyProject)
add_executable(main sillycode.cpp) add_executable(main src/sillycode.cpp)

View File

@ -4,7 +4,7 @@ name = "prepare"
[stages.executor] [stages.executor]
name = "sandbox" name = "sandbox"
[stages.executor.with.default] [stages.executor.with.default]
args = ["cmake", "-S", ".", "-DDRONE=ON", "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON", "-B", "build"] args = ["cmake", "-S", ".", "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON", "-B", "build"]
env = ["PATH=/usr/bin:/bin"] env = ["PATH=/usr/bin:/bin"]
cpuLimit = 10_000_000_000 cpuLimit = 10_000_000_000
memoryLimit = 104_857_600 memoryLimit = 104_857_600
@ -30,8 +30,8 @@ name = "clang-tidy"
[stages.executor] [stages.executor]
name = "sandbox" name = "sandbox"
[stages.executor.with.default] [stages.executor.with.default]
args = ["clang-tidy", "--header-filter=.*", "--quiet", "-checks=*", "sillycode.cpp", "-p", "build"] args = ["bash", "-c", "clang-tidy --header-filter=.* --quiet -checks=* src/*.cpp -p build"]
env = ["PATH=/usr/bin:/bin"] env = ["PATH=/usr/bin:/bin:/usr/local/bin"]
cpuLimit = 10_000_000_000 cpuLimit = 10_000_000_000
memoryLimit = 104_857_600 memoryLimit = 104_857_600
procLimit = 50 procLimit = 50

View File

@ -1 +1 @@
[{"name":"cpplint","results":[{"score":0,"comment":""}]}] [{"name":"prepare","results":[{"score":0,"comment":"Failed to parse result: invalid character '-' in numeric literal"}]},{"name":"clang-tidy","results":[{"score":-202,"comment":""}]}]