File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,19 @@ jobs:
22
22
- name : Run tests
23
23
run : |
24
24
sudo apt update && sudo apt install -y gdb pip curl python3-dev llvm \
25
- openjdk-17-jdk ca-certificates gnupg lua5.4 liblua5.4-dev libcurl4-gnutls-dev
25
+ openjdk-17-jdk ca-certificates gnupg libcurl4-gnutls-dev
26
+ wget https://www.lua.org/ftp/lua-5.4.7.tar.gz && tar zxf lua-5.4.7.tar.gz && cd lua-5.4.7 && \
27
+ sed -i 's/std=gnu99/std=gnu99 -fPIC/1' src/Makefile && \
28
+ sed -i 's/Wextra/Wextra -fPIC/1' src/Makefile && make all test && sudo make install
29
+ ln -s $(which lua) $(which lua)5.4
26
30
wget https://luarocks.org/releases/luarocks-3.11.1.tar.gz && tar zxpf luarocks-3.11.1.tar.gz && \
27
31
cd luarocks-3.11.1 && ./configure && make && sudo make install && cd .. && rm -rf luarocks-3.11.1.tar.gz luarocks-3.11.1
28
32
eval $(luarocks path)
29
33
wget https://github.com/tarantool/luajit/archive/refs/tags/v2.1.0-beta3.tar.gz && \
30
34
tar zxpf v2.1.0-beta3.tar.gz && rm v2.1.0-beta3.tar.gz && cd luajit-2.1.0-beta3 && \
31
35
make && sudo make install && sudo ln -sf luajit-2.1.0-beta3 /usr/local/bin/luajit && cd .. && rm -rf luajit-2.1.0-beta3
32
36
git clone https://github.com/ligurio/luzer.git && \
33
- cd luzer && git checkout 6e3276c5e6faf18c8c98637162bea0a23f0cd1d3 && luarocks --local build && cd ..
37
+ cd luzer && git checkout 649289aa945b7d6c1e2c29edccc83fd3fbe70568 && luarocks build --pack-binary-rock && cd ..
34
38
export LUA_CPATH="/home/runner/work/casr/casr/luzer/build.luarocks/luzer/?.so;$LUA_CPATH"
35
39
# Atheris fails to install on Ubuntu 24.04, see https://github.com/google/atheris/issues/82
36
40
# pip3 install atheris
You can’t perform that action at this time.
0 commit comments