Skip to content

Commit 7101e1b

Browse files
committed
Add support for Lua 5.1 and Lua 5.2
1 parent 6c10316 commit 7101e1b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
luaVersion: ["5.3", "5.4", "luajit-2.1.0-beta3", "luajit-openresty"]
12+
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit-2.1.0-beta3", "luajit-openresty"]
1313

1414
steps:
1515
- uses: actions/checkout@v4
@@ -28,6 +28,9 @@ jobs:
2828
run: |
2929
make dev
3030
if [[ ${{ matrix.luaVersion }} == 5.* ]]; then make ffi; fi
31+
if [[ ${{ matrix.luaVersion }} == 5.1 ]] || [[ ${{ matrix.luaVersion }} == 5.2 ]]; then
32+
make bit
33+
fi
3134
3235
- name: Lint with luacheck
3336
run: |

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ DEV_ROCKS = "busted 2.2.0" "luacheck 1.1.2"
22
BUSTED_ARGS ?= -o gtest -v
33
TEST_CMD ?= busted $(BUSTED_ARGS)
44

5-
.PHONY: dev ffi lint test
5+
.PHONY: dev ffi bit lint test
66

77
dev:
88
@for rock in $(DEV_ROCKS) ; do \
@@ -17,6 +17,9 @@ dev:
1717
ffi:
1818
@luarocks install luaffi-tkl
1919

20+
bit:
21+
@luarocks install luabitop
22+
2023
lint:
2124
@luacheck -q .
2225

0 commit comments

Comments
 (0)