Skip to content

Commit 291f51d

Browse files
committed
Update CI builds to include emscripten
The CI Windows builds fail... but locally I can't replicate it, so now I'll try to use ubuntu and build both 🤷
1 parent bcc86af commit 291f51d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
os: [ubuntu-latest, windows-latest]
10+
os: [ubuntu-latest]
1111
backend: [sdl, sokol]
1212
optimize: [Debug]
1313
name: Zig Build
@@ -46,6 +46,12 @@ jobs:
4646
libudev-dev \
4747
fcitx-libs-dev
4848
49-
- name: Build All
49+
- name: Build Linux
5050
run: zig build -Dplatform_backend=${{ matrix.backend }} -Doptimize=${{ matrix.optimize }}
5151

52+
- name: Build Windows
53+
run: zig build -Dplatform_backend=${{ matrix.backend }} -Doptimize=${{ matrix.optimize }} -Dtarget=x86_64-windows
54+
55+
- name: Build Wasm32
56+
run: zig build -Dplatform_backend=${{ matrix.backend }} -Doptimize=${{ matrix.optimize }} -Dtarget=wasm32-emscripten
57+

0 commit comments

Comments
 (0)