mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 21:16:29 +02:00
added a version of piston which uses lxc instead of docker, added tests for lxc
This commit is contained in:
parent
748f438718
commit
b26d1b5b45
30 changed files with 233 additions and 0 deletions
3
lxc/executors/cpp
Executable file
3
lxc/executors/cpp
Executable file
|
@ -0,0 +1,3 @@
|
|||
cd /tmp/$1
|
||||
timeout -s KILL 10 g++ -o binary -x c++ code.code
|
||||
timeout -s KILL 3 bash -c "cat args.args | xargs -d '\n' ./binary"
|
Loading…
Add table
Add a link
Reference in a new issue