Add executor and test for Nim
This commit is contained in:
parent
47601eda51
commit
5134eb961b
|
@ -0,0 +1,4 @@
|
||||||
|
cd /tmp/$2
|
||||||
|
timeout -s KILL 10 nim --hints:off c code.code
|
||||||
|
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./code"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
echo("good")
|
|
@ -69,6 +69,9 @@ echo 'nasm'
|
||||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "nasm -version"
|
lxc-attach --clear-env -n piston -- /bin/bash -l -c "nasm -version"
|
||||||
echo '---'
|
echo '---'
|
||||||
|
|
||||||
|
echo 'nim'
|
||||||
|
lxc-attack --clear-env -n piston -- /bin/bash -l -c "nim -v | head -n1"
|
||||||
|
|
||||||
echo 'node'
|
echo 'node'
|
||||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "node --version"
|
lxc-attach --clear-env -n piston -- /bin/bash -l -c "node --version"
|
||||||
echo '---'
|
echo '---'
|
||||||
|
|
Loading…
Reference in New Issue