diff --git a/.github/shell/setenv_lua.sh b/.github/shell/setenv_lua.sh index b289b814..94b03b87 100755 --- a/.github/shell/setenv_lua.sh +++ b/.github/shell/setenv_lua.sh @@ -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 diff --git a/.github/shell/setup_lua.sh b/.github/shell/setup_lua.sh index 2edd60a9..8092dfc3 100755 --- a/.github/shell/setup_lua.sh +++ b/.github/shell/setup_lua.sh @@ -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 @@ -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