diff options
| author | leaf corcoran <leafot@gmail.com> | 2019-09-21 19:53:30 -0700 |
|---|---|---|
| committer | leaf <leafot@gmail.com> | 2020-04-25 14:24:18 -0700 |
| commit | 5dd400b9bddd4122d774f76c75ea861a25c6cdd1 (patch) | |
| tree | 672013ac32a8f1eceabedb41cccb04d5a279380b | |
| parent | 96187b423dbec0d502bb1c4200094527458d83c2 (diff) | |
| download | lua-cjson-5dd400b9bddd4122d774f76c75ea861a25c6cdd1.tar.gz lua-cjson-5dd400b9bddd4122d774f76c75ea861a25c6cdd1.tar.bz2 lua-cjson-5dd400b9bddd4122d774f76c75ea861a25c6cdd1.zip | |
use different header path for luajit make builds
| -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: | |
