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 d1fccc3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/shell/setup_lua.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ if [ "$RUNNER_OS" == "macOS" ]; then
PLATFORM=macosx
elif [ "$(expr substr $LUA 1 6)" == "luajit" ]; then
LUAJIT="yes"
sudo apt update && sudo apt install -y readline-dev
fi

mkdir -p "$LUA_HOME_DIR"
Expand Down Expand Up @@ -62,8 +63,8 @@ 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

# Build Lua without backwards compatibility for testing
Expand Down Expand Up @@ -109,5 +110,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 d1fccc3

Please sign in to comment.