Compare commits

..

4 Commits

Author SHA1 Message Date
Wires77
6a646f62a6
Merge 495634795203bf4b1b4c7b6ffbc09c071cfbd7a2 into 58c76080a0c654de906de9f554e2de45b1784929 2025-02-28 19:28:41 -03:00
Caleb Maclennan
58c76080a0
Merge pull request #450 from luau-project/update-ci
Update CI
2025-03-01 00:59:17 +03:00
luau-project
250e4d48f7
fix: Use a macos version supported by GitHub Actions 2025-03-01 00:58:23 +03:00
luau-project
f139105c98
ci: Use GitHub Actions from luarocks namespace 2025-03-01 00:57:51 +03:00

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