54 lines
1.1 KiB
JSON
54 lines
1.1 KiB
JSON
{
|
|
"stages": [
|
|
{
|
|
"name": "sample",
|
|
"executor": {
|
|
"name": "sandbox",
|
|
"with": {
|
|
"default": {
|
|
"args": [
|
|
"./sample",
|
|
"--score",
|
|
"100"
|
|
],
|
|
"env": [
|
|
"PATH=/usr/bin:/bin"
|
|
],
|
|
"cpuLimit": 10000000000,
|
|
"memoryLimit": 104857600,
|
|
"procLimit": 50,
|
|
"copyInDir": ".",
|
|
"copyIn": {
|
|
"sample": {
|
|
"src": "./../../../../../../build/sample"
|
|
}
|
|
},
|
|
"copyOut": [
|
|
"stdout",
|
|
"stderr"
|
|
],
|
|
"stdin": {
|
|
"content": ""
|
|
},
|
|
"stdout": {
|
|
"name": "stdout",
|
|
"max": 4096
|
|
},
|
|
"stderr": {
|
|
"name": "stderr",
|
|
"max": 4096
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"parser": {
|
|
"name": "sample",
|
|
"with": {
|
|
"score": 10,
|
|
"comment": " + comment from toml conf"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|