diff options
| -rw-r--r-- | .github/workflows/test.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 04c407c..395e380 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
| @@ -8,6 +8,11 @@ jobs: | |||
| 8 | fail-fast: false | 8 | fail-fast: false |
| 9 | matrix: | 9 | matrix: |
| 10 | luaVersion: ["5.1", "5.2", "5.3", "luajit", "luajit-openresty"] | 10 | luaVersion: ["5.1", "5.2", "5.3", "luajit", "luajit-openresty"] |
| 11 | include: | ||
| 12 | - luaVersion: "luajit" | ||
| 13 | luaIncludeDir: "LUA_INCLUDE_DIR=.lua/include/luajit-2.1" | ||
| 14 | - luaVersion: "luajit-openresty" | ||
| 15 | luaIncludeDir: "LUA_INCLUDE_DIR=.lua/include/luajit-2.1" | ||
| 11 | 16 | ||
| 12 | runs-on: ubuntu-latest | 17 | runs-on: ubuntu-latest |
| 13 | 18 | ||
| @@ -22,7 +27,7 @@ jobs: | |||
| 22 | 27 | ||
| 23 | - name: test | 28 | - name: test |
| 24 | run: | | 29 | run: | |
| 25 | LUA_DIR=.lua ./runtests.sh PREFIX=.lua | 30 | LUA_DIR=.lua ./runtests.sh PREFIX=.lua ${{ matrix.luaIncludeDir }} |
| 26 | 31 | ||
| 27 | - name: build | 32 | - name: build |
| 28 | run: | | 33 | run: | |
