mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 21:16:29 +02:00
add nim
This commit is contained in:
parent
d86eb04dec
commit
1c1fa316e5
6 changed files with 30 additions and 0 deletions
5
lxc/executors/nim
Normal file
5
lxc/executors/nim
Normal 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
|
|
@ -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 = '
|
||||
|
|
|
@ -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 '---'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue