mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 03:06:26 +02:00
add osabie
This commit is contained in:
parent
2fdd65af26
commit
b35c7649e6
7 changed files with 37 additions and 0 deletions
8
lxc/executors/osabie
Normal file
8
lxc/executors/osabie
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# osabie uses Elixir, which expects UTF-8 native encoding
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
|
||||
# osabie will break if you try using it with xargs
|
||||
cd /tmp/$2
|
||||
timeout -s KILL 3 osabie code.code < args.args
|
|
@ -64,3 +64,5 @@ echo -n 'testing typescript = '
|
|||
../../cli/execute typescript typescript.ts
|
||||
echo -n 'testing zig = '
|
||||
../../cli/execute zig zig.zig
|
||||
echo -n 'testing osabie = '
|
||||
../../cli/execute osabie osabie.abe
|
||||
|
|
1
lxc/tests/osabie.abe
Normal file
1
lxc/tests/osabie.abe
Normal file
|
@ -0,0 +1 @@
|
|||
"good
|
|
@ -136,3 +136,7 @@ echo '---'
|
|||
echo 'zig'
|
||||
lxc-attach --clear-env -n piston -- /bin/bash -l -c "zig version"
|
||||
echo '---'
|
||||
|
||||
echo 'osabie'
|
||||
echo '1.0.1'
|
||||
echo '---'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue