This commit is contained in:
Vrganj 2021-01-23 22:45:42 +01:00
parent d86eb04dec
commit 1c1fa316e5
6 changed files with 30 additions and 0 deletions

5
lxc/executors/nim Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
cd /tmp/$2
timeout -s KILL 10 nim --hints:off c code.code
timeout -s KILL 3 xargs -a args.args -d '\n' ./code

View file

@ -41,6 +41,8 @@ echo -n 'testing nasm 32 bit = '
../../cli/execute nasm nasm.nasm
echo -n 'testing nasm 64 bit = '
../../cli/execute nasm64 nasm64.nasm
echo -n 'testing nim = '
../../cli/execute nim nim.nim
echo -n 'testing node = '
../../cli/execute node node.js
echo -n 'testing paradoc = '

View file

@ -89,6 +89,10 @@ echo 'nasm64'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "nasm -version"
echo '---'
echo 'nim'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "nim -v"
echo '---'
echo 'node'
lxc-attach --clear-env -n piston -- /bin/bash -l -c "node --version"
echo '---'