This commit is contained in:
Brian Seymour 2020-06-04 19:17:26 -05:00
commit 30556fb45d
7 changed files with 36 additions and 2 deletions

View file

@ -57,6 +57,9 @@ case "$lang" in
"csharp" | "cs" | "c#")
bin=csharp
;;
"elixir" | "exs")
bin=elixir
;;
"go")
bin=go
;;

2
lxc/executors/elixir Normal file
View file

@ -0,0 +1,2 @@
cd /tmp/$2
runuser runner$1 -c "cd /tmp/$2 ; cat args.args ; xargs -d '\n' timeout -s KILL 3 elixir code.code"

View file

@ -27,6 +27,9 @@ echo '---'
echo 'kotlin'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "kotlinc -version"
echo '---'
echo "elixir"
lxc-attach --clear-env -n piston -- /bin/bash -l -c "elixir --version"
echo "---"
echo 'nasm'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "nasm -version"
echo '---'