Skip to content

Commit 3b6ce4b

Browse files
committed
simplify workflow
1 parent b51d347 commit 3b6ce4b

File tree

2 files changed

+7
-26
lines changed

2 files changed

+7
-26
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,11 @@ jobs:
3434
- uses: actions/checkout@v4
3535
with:
3636
submodules: recursive
37-
- uses: actboy168/setup-luamake@master
3837

39-
- name: Build for Windows
40-
if: ${{ matrix.target == 'windows' }}
41-
run: .\make.bat ${{ matrix.platform }}
38+
- uses: actboy168/setup-luamake@master
4239

43-
- name: Build for Linux
44-
if: ${{ matrix.target == 'linux' }}
45-
run: |
46-
./make.sh ${{ matrix.platform }}
47-
48-
- name: Build for macOS
49-
if: ${{ matrix.target == 'darwin' }}
50-
run: |
51-
./make.sh ${{ matrix.platform }}
40+
- name: Build
41+
run: luamake
5242

5343
- name: Setting up workflow variables
5444
id: vars

.github/workflows/test.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,8 @@ jobs:
1414
- uses: actions/checkout@v4
1515
with:
1616
submodules: recursive
17+
1718
- uses: actboy168/setup-luamake@master
18-
- name: Build for Windows
19-
if: ${{ matrix.target == 'windows' }}
20-
run: .\make.bat
21-
- name: Build for Linux
22-
if: ${{ matrix.target == 'linux' }}
23-
run: |
24-
sudo apt update
25-
sudo apt install ninja-build
26-
./make.sh
27-
- name: Build for macOS
28-
if: ${{ matrix.target == 'darwin' }}
29-
run: |
30-
./make.sh
19+
20+
- name: Build
21+
run: luamake

0 commit comments

Comments
 (0)