Skip to content

Commit 86c1f2f

Browse files
committed
使用自己的luamake
1 parent c0924b1 commit 86c1f2f

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,25 @@ jobs:
4242
with:
4343
submodules: recursive
4444

45-
- uses: actboy168/setup-luamake@master
45+
- name: Build for Windows
46+
if: ${{ matrix.target == 'windows' }}
47+
run: |
48+
.\make.bat ${{ matrix.platform }}
49+
rm -r ./build
4650
47-
- name: Run luamake
48-
id: luamake
49-
working-directory: ./server
51+
- name: Build for Linux
52+
if: ${{ matrix.target == 'linux' }}
53+
run: |
54+
sudo apt update
55+
sudo apt install ninja-build
56+
./make.sh ${{ matrix.platform }}
57+
rm -r ./build
58+
59+
- name: Build for macOS
60+
if: ${{ matrix.target == 'darwin' }}
5061
run: |
51-
luamake -platform ${{ matrix.platform }}
62+
brew install ninja
63+
./make.sh ${{ matrix.platform }}
5264
rm -r ./build
5365
5466
- name: Setting up workflow variables

0 commit comments

Comments
 (0)