diff options
author | Caleb Maclennan <caleb@alerque.com> | 2023-11-08 13:08:10 +0300 |
---|---|---|
committer | Caleb Maclennan <caleb@alerque.com> | 2023-11-08 13:08:10 +0300 |
commit | 64c9d531df0efc3f4e85be6d69e5695831993430 (patch) | |
tree | 7318b9732a294649fd91bdb8ecc9521a86f08672 | |
parent | 0f37af645c5f3a0377f1650b529ed23b2e26749f (diff) | |
download | luasocket-64c9d531df0efc3f4e85be6d69e5695831993430.tar.gz luasocket-64c9d531df0efc3f4e85be6d69e5695831993430.tar.bz2 luasocket-64c9d531df0efc3f4e85be6d69e5695831993430.zip |
ci: Identify CI jobs better and skip irrelevant platform specific steps
-rw-r--r-- | .github/workflows/build.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 432bafb..6d119d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -8,7 +8,7 @@ on: | |||
8 | 8 | ||
9 | jobs: | 9 | jobs: |
10 | build: | 10 | build: |
11 | name: Test build on ${{ matrix.platform }} | 11 | name: Test ${{ matrix.luaVersion }} on ${{ matrix.platform }} |
12 | strategy: | 12 | strategy: |
13 | fail-fast: false | 13 | fail-fast: false |
14 | matrix: | 14 | matrix: |
@@ -17,10 +17,10 @@ jobs: | |||
17 | runs-on: ${{ matrix.platform }} | 17 | runs-on: ${{ matrix.platform }} |
18 | steps: | 18 | steps: |
19 | - name: Checkout | 19 | - name: Checkout |
20 | uses: actions/checkout@v3 | 20 | uses: actions/checkout@v4 |
21 | - name: Setup ’msvc’ | 21 | - name: Setup ’msvc’ |
22 | if: ${{ startsWith(matrix.platform, 'windows') && !startsWith(matrix.luaVersion, 'luajit') }} | ||
22 | uses: ilammy/msvc-dev-cmd@v1 | 23 | uses: ilammy/msvc-dev-cmd@v1 |
23 | if: ${{ !startsWith(matrix.luaVersion, 'luajit') }} | ||
24 | - name: Setup ‘lua’ | 24 | - name: Setup ‘lua’ |
25 | uses: leso-kn/gh-actions-lua@v11-staging | 25 | uses: leso-kn/gh-actions-lua@v11-staging |
26 | with: | 26 | with: |