Skip to content

Commit 58a5dfc

Browse files
committed
ci: refactor lfs to include lfs-arm64 logic
1 parent 7fbf675 commit 58a5dfc

File tree

3 files changed

+53
-203
lines changed

3 files changed

+53
-203
lines changed

.github/workflows/CI.yaml

Lines changed: 49 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,33 +16,60 @@ jobs:
1616
name: LuaFileSystem (${{ matrix.lua-version }} ${{ matrix.arch }})
1717
strategy:
1818
matrix:
19-
lua-version:
20-
- 5.1.5
21-
- 5.2.4
22-
- 5.3.6
23-
- 5.4.7
24-
arch:
25-
- x64
26-
- x86
19+
include:
20+
- lua-version: 5.1.5
21+
arch: x86
22+
os: windows-latest
2723

28-
uses: ./.github/workflows/lfs.yaml
29-
with:
30-
lua-version: ${{ matrix.lua-version }}
31-
arch: ${{ matrix.arch }}
24+
- lua-version: 5.2.4
25+
arch: x86
26+
os: windows-latest
3227

33-
lfs-arm64:
34-
name: LuaFileSystem (${{ matrix.lua-version }} ARM64)
35-
strategy:
36-
matrix:
37-
lua-version:
38-
- 5.1.5
39-
- 5.2.4
40-
- 5.3.6
41-
- 5.4.7
28+
- lua-version: 5.3.6
29+
arch: x86
30+
os: windows-latest
31+
32+
- lua-version: 5.4.7
33+
arch: x86
34+
os: windows-latest
35+
36+
- lua-version: 5.1.5
37+
arch: x64
38+
os: windows-latest
39+
40+
- lua-version: 5.2.4
41+
arch: x64
42+
os: windows-latest
43+
44+
- lua-version: 5.3.6
45+
arch: x64
46+
os: windows-latest
47+
48+
- lua-version: 5.4.7
49+
arch: x64
50+
os: windows-latest
4251

43-
uses: ./.github/workflows/lfs-arm64.yaml
52+
- lua-version: 5.1.5
53+
arch: arm64
54+
os: windows-11-arm
55+
56+
- lua-version: 5.2.4
57+
arch: arm64
58+
os: windows-11-arm
59+
60+
- lua-version: 5.3.6
61+
arch: arm64
62+
os: windows-11-arm
63+
64+
- lua-version: 5.4.7
65+
arch: arm64
66+
os: windows-11-arm
67+
68+
uses: ./.github/workflows/lfs.yaml
4469
with:
4570
lua-version: ${{ matrix.lua-version }}
71+
arch: ${{ matrix.arch }}
72+
os: ${{ matrix.os }}
4673

4774
lgi:
4875
name: LGI (${{ matrix.lua-version }} GTK ${{ matrix.gtk-major-version }})

.github/workflows/lfs-arm64.yaml

Lines changed: 0 additions & 180 deletions
This file was deleted.

.github/workflows/lfs.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ on:
99
lua-version:
1010
required: true
1111
type: string
12+
os:
13+
required: true
14+
type: string
1215

1316
env:
1417
LUAROCKS_VERSION: 3.11.1
1518

1619
jobs:
1720
build:
18-
runs-on: windows-latest
21+
runs-on: ${{ inputs.os }}
1922
name: Build
2023

2124
steps:

0 commit comments

Comments
 (0)