Skip to content

Commit

Permalink
CI: update LuaJIT rolling release using hishamhm/gh-actions-lua
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Aug 31, 2024
1 parent d36540c commit fa67029
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ jobs:
strategy:
fail-fast: false
matrix:
luaVersion: ["5.1.5", "5.2.4", "5.3.5", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"]
luaVersion: ["5.1.5", "5.2.4", "5.3.5", "luajit", "luajit-2.0.5", "luajit-2.1.0-beta3", "luajit-openresty", "5.1", "5.4"]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@master
- uses: hishamhm/gh-actions-lua@master
with:
luaVersion: ${{ matrix.luaVersion }}

- uses: leafo/gh-actions-luarocks@master
- uses: hishamhm/gh-actions-luarocks@master

- name: test lua
run: lua -e 'print("hi from lua")'
Expand All @@ -36,11 +36,11 @@ jobs:

steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@master
- uses: hishamhm/gh-actions-lua@master
with:
luaVersion: "5.2"

- uses: leafo/gh-actions-luarocks@master
- uses: hishamhm/gh-actions-luarocks@master
with:
luaRocksVersion: "2.4.4"

Expand All @@ -56,8 +56,8 @@ jobs:

steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@master
- uses: leafo/gh-actions-luarocks@master
- uses: hishamhm/gh-actions-lua@master
- uses: hishamhm/gh-actions-luarocks@master

- name: test luarocks
run: |
Expand All @@ -71,15 +71,15 @@ jobs:
test-windows:
strategy:
matrix:
luaVersion: ["5.1", "5.4", "luajit-2.1.0-beta3"]
luaVersion: ["5.1", "5.4", "luajit" ]

runs-on: windows-latest

steps:
- uses: actions/checkout@master
- uses: ilammy/msvc-dev-cmd@v1
if: ${{ matrix.luaVersion != 'luajit-2.1.0-beta3' }}
- uses: leafo/gh-actions-lua@master
if: ${{ ! contains(matrix.luaVersion, 'luajit') }}
- uses: hishamhm/gh-actions-lua@master
with:
luaVersion: ${{ matrix.luaVersion }}
- uses: hishamhm/gh-actions-luarocks@master
Expand All @@ -100,7 +100,7 @@ jobs:
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-openresty@main
- uses: leafo/gh-actions-luarocks@master
- uses: hishamhm/gh-actions-luarocks@master
with:
withLuaPath: "/usr/local/openresty/luajit/"

Expand Down

0 comments on commit fa67029

Please sign in to comment.