feat: init
This commit is contained in:
commit
3ebebbc913
28
conf.toml
Normal file
28
conf.toml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
skipGitea = true
|
||||||
|
[[stages]]
|
||||||
|
name = "dummy"
|
||||||
|
[stages.executor]
|
||||||
|
name = "sandbox"
|
||||||
|
[stages.executor.with.default]
|
||||||
|
args = ["./dummy", "--score", "-1"]
|
||||||
|
env = ["PATH=/usr/bin:/bin"]
|
||||||
|
cpuLimit = 10_000_000_000
|
||||||
|
memoryLimit = 104_857_600
|
||||||
|
procLimit = 50
|
||||||
|
copyInCwd = true
|
||||||
|
[stages.executor.with.default.copyIn.dummy]
|
||||||
|
src = "./../../../build/dummy"
|
||||||
|
copyOut = ["stdout", "stderr"]
|
||||||
|
[stages.executor.with.default.stdin]
|
||||||
|
content = ""
|
||||||
|
[stages.executor.with.default.stdout]
|
||||||
|
name = "stdout"
|
||||||
|
max = 4_096
|
||||||
|
[stages.executor.with.default.stderr]
|
||||||
|
name = "stderr"
|
||||||
|
max = 4_096
|
||||||
|
[stages.parser]
|
||||||
|
name = "dummy"
|
||||||
|
[stages.parser.with]
|
||||||
|
score = 10
|
||||||
|
comment = " + comment from toml conf"
|
1
expected.json
Normal file
1
expected.json
Normal file
|
@ -0,0 +1 @@
|
||||||
|
[{"name":"dummy","results":[{"score":0,"comment":"Unexpected executor status: Nonzero Exit Status.\nStderr: dummy negative score: -1"}]}]
|
Loading…
Reference in New Issue
Block a user