Skip to content

Commit

Permalink
ci: with lua-5.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaozg committed Jan 24, 2025
1 parent c1d95d6 commit 9985cc6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/shell/setenv_lua.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ "$PLATFORM" == "macosx" ]; then
export LD_LIBRARY_PATH=/usr/local/opt/openssl/lib:$LD_LIBRARY_PATH
fi
fi
if [[ "$PLATFORM" == "linux" && "$SSL" =~ ^libressl ]]; then
if [[ "$PLATFORM" == "linux" ]]; then
sudo apt-get -y update
sudo apt install -y valgrind
fi
Expand Down
11 changes: 8 additions & 3 deletions .github/shell/setup_lua.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,13 @@ else
curl https://www.lua.org/ftp/lua-5.3.6.tar.gz | tar xz
cd lua-5.3.6
elif [ "$LUA" == "lua5.4" ]; then
curl https://www.lua.org/ftp/lua-5.4.6.tar.gz | tar xz
cd lua-5.4.6
curl https://www.lua.org/ftp/lua-5.4.7.tar.gz | tar xz
cd lua-5.4.7
fi

if [ "$PLATFORM" == "linux" ]; then
sudo apt-get -y update
sudo apt install -y readline-devel
fi

# Build Lua without backwards compatibility for testing
Expand Down Expand Up @@ -109,5 +114,5 @@ elif [ "$LUA" == "lua5.2" ]; then
elif [ "$LUA" == "lua5.3" ]; then
rm -rf lua-5.3.6
elif [ "$LUA" == "lua5.4" ]; then
rm -rf lua-5.4.3
rm -rf lua-5.4.7
fi

0 comments on commit 9985cc6

Please sign in to comment.