add osabie

This commit is contained in:
Dan Vargas 2021-01-27 09:53:59 -06:00
parent 2fdd65af26
commit b35c7649e6
7 changed files with 37 additions and 0 deletions

8
lxc/executors/osabie Normal file
View 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

View file

@ -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
View file

@ -0,0 +1 @@
"good

View file

@ -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 '---'