File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ concurrency:
24
24
jobs :
25
25
test :
26
26
runs-on : ${{matrix.os}}
27
- name : Test target ${{matrix.target}}
27
+ name : Test target ${{matrix.target}} (enable-wasm=${{matrix.wasm}})
28
28
strategy :
29
29
fail-fast : false
30
30
matrix :
37
37
- aarch64-windows-gnu
38
38
- aarch64-macos-none
39
39
- x86_64-macos-none
40
+ wasm :
41
+ - " true"
42
+ - " false"
40
43
include :
41
44
- os : ubuntu-24.04
42
45
target : x86_64-linux-gnu
54
57
target : aarch64-macos-none
55
58
- os : macos-13
56
59
target : x86_64-macos-none
60
+ exclude :
61
+ # doesn't build
62
+ - target : x86_64-windows-msvc
63
+ wasm : " true"
64
+ # no wasmtime archive
65
+ - target : aarch64-windows-gnu
66
+ wasm : " true"
57
67
steps :
58
68
- name : Checkout repository
59
69
uses : actions/checkout@v5
66
76
if : matrix.target == 'x86_64-linux-musl'
67
77
run : sudo apt-get update && sudo apt-get install -y musl
68
78
- name : Run unit tests
69
- run : zig build test -Dtarget=${{matrix.target}} --verbose
79
+ shell : sh
80
+ run : zig build test $ZIG_FLAGS --verbose
81
+ env :
82
+ ZIG_FLAGS : -Dtarget=${{matrix.target}} -Denable-wasm=${{matrix.wasm}}
Original file line number Diff line number Diff line change 30
30
- name : Set up Zig
31
31
uses : mlugg/setup-zig@v2
32
32
- name : Generate documentation
33
- run : zig build docs --verbose
33
+ run : zig build docs -Denable-wasm=true - -verbose
34
34
- name : Upload pages artifact
35
35
uses : actions/upload-pages-artifact@v3
36
36
with :
You can’t perform that action at this time.
0 commit comments