Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 97526eb

Browse files
committedMar 14, 2025·
Test
1 parent 52bc987 commit 97526eb

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed
 

‎.github/workflows/coverage.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
run: |
2121
sudo apt update && sudo apt install -y gdb pip curl python3-dev llvm \
2222
openjdk-17-jdk ca-certificates gnupg lua5.4 liblua5.4-dev libcurl4-gnutls-dev
23-
wget https://luarocks.org/releases/luarocks-3.11.1.tar.gz && tar zxpf luarocks-3.11.1.tar.gz && \
24-
cd luarocks-3.11.1 && ./configure && make && sudo make install && cd .. && rm -rf luarocks-3.11.1.tar.gz luarocks-3.11.1
25-
eval $(luarocks path)
26-
wget https://github.com/tarantool/luajit/archive/refs/tags/v2.1.0-beta3.tar.gz && \
27-
tar zxpf v2.1.0-beta3.tar.gz && rm v2.1.0-beta3.tar.gz && cd luajit-2.1.0-beta3 && \
28-
make && sudo make install && sudo ln -sf luajit-2.1.0-beta3 /usr/local/bin/luajit && cd .. && rm -rf luajit-2.1.0-beta3
29-
git clone https://github.com/ligurio/luzer.git && \
30-
cd luzer && git checkout 6e3276c5e6faf18c8c98637162bea0a23f0cd1d3 && luarocks --local build && cd .. && sudo rm -rf luzer
31-
export LUA_CPATH="/home/runner/work/casr/casr/luzer/build.luarocks/luzer/?.so;$LUA_CPATH"
23+
# wget https://luarocks.org/releases/luarocks-3.11.1.tar.gz && tar zxpf luarocks-3.11.1.tar.gz && \
24+
# cd luarocks-3.11.1 && ./configure && make && sudo make install && cd .. && rm -rf luarocks-3.11.1.tar.gz luarocks-3.11.1
25+
# eval $(luarocks path)
26+
# wget https://github.com/tarantool/luajit/archive/refs/tags/v2.1.0-beta3.tar.gz && \
27+
# tar zxpf v2.1.0-beta3.tar.gz && rm v2.1.0-beta3.tar.gz && cd luajit-2.1.0-beta3 && \
28+
# make && sudo make install && sudo ln -sf luajit-2.1.0-beta3 /usr/local/bin/luajit && cd .. && rm -rf luajit-2.1.0-beta3
29+
# git clone https://github.com/ligurio/luzer.git && \
30+
# cd luzer && git checkout 6e3276c5e6faf18c8c98637162bea0a23f0cd1d3 && luarocks --local build && cd .. && sudo rm -rf luzer
31+
# export LUA_CPATH="/home/runner/work/casr/casr/luzer/build.luarocks/luzer/?.so;$LUA_CPATH"
3232
pip3 install atheris
3333
sudo mkdir -p /etc/apt/keyrings
3434
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg

‎casr/tests/tests.rs

+4
Original file line numberDiff line numberDiff line change
@@ -5020,6 +5020,10 @@ fn test_casr_lua() {
50205020
#[test]
50215021
#[cfg(target_arch = "x86_64")]
50225022
fn test_casr_libfuzzer_luzer() {
5023+
if lsb_release::info().unwrap().version != "24.04" {
5024+
return;
5025+
}
5026+
50235027
use std::collections::HashMap;
50245028

50255029
let paths = [

0 commit comments

Comments
 (0)
Please sign in to comment.