mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 03:06:26 +02:00
merge
This commit is contained in:
commit
ed773d26d3
7 changed files with 35 additions and 0 deletions
6
lxc/executors/d
Normal file
6
lxc/executors/d
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /tmp/$2
|
||||
cp code.code code.d
|
||||
timeout -s KILL 10 dmd code.d
|
||||
xtimeout -s KILL 3 args -a args.args -d '\n' ./code
|
|
@ -13,6 +13,8 @@ echo -n 'testing crystal = '
|
|||
../../cli/execute crystal crystal.cr
|
||||
echo -n 'testing csharp = '
|
||||
../../cli/execute csharp csharp.cs
|
||||
echo -n 'testing d = '
|
||||
../../cli/execute d test.d
|
||||
echo -n 'testing deno = '
|
||||
../../cli/execute deno deno.ts
|
||||
echo -n 'testing elixir = '
|
||||
|
|
5
lxc/tests/test.d
Normal file
5
lxc/tests/test.d
Normal file
|
@ -0,0 +1,5 @@
|
|||
import std.stdio;
|
||||
|
||||
void main() {
|
||||
writeln("good");
|
||||
}
|
|
@ -33,6 +33,10 @@ echo "elixir"
|
|||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "elixir --version"
|
||||
echo '---'
|
||||
|
||||
echo 'd'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "dmd --version"
|
||||
echo '---'
|
||||
|
||||
echo 'deno'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "deno --version"
|
||||
echo '---'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue