mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-08 14:28:21 +01:00
ci: Identify CI jobs better and skip irrelevant platform specific steps
This commit is contained in:
parent
0f37af645c
commit
64c9d531df
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Test build on ${{ matrix.platform }}
|
||||
name: Test ${{ matrix.luaVersion }} on ${{ matrix.platform }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@ -17,10 +17,10 @@ jobs:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup ’msvc’
|
||||
if: ${{ startsWith(matrix.platform, 'windows') && !startsWith(matrix.luaVersion, 'luajit') }}
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
if: ${{ !startsWith(matrix.luaVersion, 'luajit') }}
|
||||
- name: Setup ‘lua’
|
||||
uses: leso-kn/gh-actions-lua@v11-staging
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user