Skip to content

Commit 48a503d

Browse files
committed
fix: install libreadline-dev on CI
1 parent d7666f7 commit 48a503d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,19 @@ jobs:
1515
matrix:
1616
version: [5.1.5, 5.2.4, 5.3.6, 5.4.7]
1717

18+
env:
19+
LUA_VERSION: ${{ matrix.version }}
20+
1821
steps:
22+
- name: Install Lua dependencies
23+
run: sudo apt install -y libreadline-dev
1924
- name: Build PUC-Rio Lua ${{ matrix.version }}
20-
env:
21-
LUA_VERSION: ${{ matrix.version }}
2225
run: |
2326
wget "https://www.lua.org/ftp/lua-${LUA_VERSION}.tar.gz"
2427
tar xzvf "lua-${LUA_VERSION}.tar.gz"
2528
cd "lua-${LUA_VERSION}"
26-
make linux SYSLIBS="-Wl,-E -ldl -lreadline" SYSCFLAGS="-DLUA_USE_LINUX -ULUA_COMPAT_5_2 -DLUA_USE_APICHECK" CC='gcc -g'
29+
make linux SYSLIBS="-Wl,-E -ldl -lreadline" SYSCFLAGS="-DLUA_USE_LINUX -DLUA_USE_APICHECK" CC='gcc -g'
2730
- name: Install PUC-Rio Lua ${{ matrix.version }}
28-
env:
29-
LUA_VERSION: ${{ matrix.version }}
3031
run: |
3132
cd "lua-${LUA_VERSION}"
3233
sudo make install
@@ -46,7 +47,6 @@ jobs:
4647
xvfb-run -a sh -c 'LD_PRELOAD="${sanitizers}" make check'
4748
- name: Check that make install works
4849
env:
49-
LUA_VERSION: ${{ matrix.version }}
5050
LSAN_OPTIONS: suppressions=${{ github.workspace }}/.github/lsan.supp
5151
UBSAN_OPTIONS: print_stacktrace=1:report_error_type=1:halt_on_error=1:suppressions=${{ github.workspace }}/.github/ubsan.supp
5252
run: |

.github/workflows/msvc-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
env:
2828
WINGTK_URL: https://github.com/wingtk/gvsbuild/releases/download/2024.10.0/GTK${{ matrix.gtk-major-version }}_Gvsbuild_2024.10.0_x64.zip
29-
LUAINSTALLER_URL: https://github.com/luau-project/LuaInstaller/releases/download/v0.3.0.0/LuaInstaller.Console-v0.3.0.0-x64.zip
29+
LUAINSTALLER_URL: https://github.com/luau-project/LuaInstaller/releases/download/v0.5.0.0/LuaInstaller.Console-v0.5.0.0-x64.zip
3030

3131
steps:
3232

0 commit comments

Comments
 (0)