Merge pull request #450 from luau-project/update-ci

Update CI
This commit is contained in:
Caleb Maclennan 2025-03-01 00:59:17 +03:00 committed by GitHub
commit 58c76080a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty" ] luaVersion: [ "5.4", "5.3", "5.2", "5.1", "luajit", "luajit-openresty" ]
platform: [ "ubuntu-22.04", "macos-11", "windows-2022" ] platform: [ "ubuntu-22.04", "macos-14", "windows-2022" ]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- name: Checkout - name: Checkout
@ -22,11 +22,11 @@ jobs:
if: ${{ startsWith(matrix.platform, 'windows') && !startsWith(matrix.luaVersion, 'luajit') }} if: ${{ startsWith(matrix.platform, 'windows') && !startsWith(matrix.luaVersion, 'luajit') }}
uses: ilammy/msvc-dev-cmd@v1 uses: ilammy/msvc-dev-cmd@v1
- name: Setup lua - name: Setup lua
uses: leso-kn/gh-actions-lua@v11-staging uses: luarocks/gh-actions-lua@v10
with: with:
luaVersion: ${{ matrix.luaVersion }} luaVersion: ${{ matrix.luaVersion }}
- name: Setup luarocks - name: Setup luarocks
uses: hishamhm/gh-actions-luarocks@master uses: luarocks/gh-actions-luarocks@v5
- name: Make and install - name: Make and install
run: | run: |
luarocks make -- luasocket-scm-3.rockspec luarocks make -- luasocket-scm-3.rockspec