feat: init
This commit is contained in:
		
						commit
						4bca6f0e4b
					
				
							
								
								
									
										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", "100"] | ||||||
|  | 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":110,"comment":"dummy comment + comment from toml conf"}]}] | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user