Skip to content

Commit ae71e76

Browse files
committed
update server and flow
1 parent 4da98f1 commit ae71e76

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,19 @@ jobs:
3838

3939
- uses: actboy168/setup-luamake@master
4040

41+
- name: Install zig
42+
if: matrix.target == 'linux'
43+
run:
44+
sudo snap install zig --classic --beta
45+
46+
- name: Prepare zig wrapper
47+
if: matrix.target == 'linux'
48+
run: chmod +x zig-cc-wrapper.sh
49+
4150
- name: Build
4251
working-directory: ./server
52+
env:
53+
USE_ZIG: ${{ matrix.target == 'linux' && '1' || '0' }}
4354
run: luamake -platform ${{ matrix.platform }}
4455

4556
- name: Setting up workflow variables

0 commit comments

Comments
 (0)