added a version of piston which uses lxc instead of docker, added tests for lxc

This commit is contained in:
Brian Seymour 2018-10-22 16:38:52 -05:00
parent 748f438718
commit b26d1b5b45
30 changed files with 233 additions and 0 deletions

3
lxc/executors/cpp Executable file
View 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"