File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -148,15 +148,18 @@ jobs:
148
148
- name : Run doctests
149
149
run : cargo test --doc --workspace --all-features
150
150
151
- test-build-wasm :
152
- name : build tests (wasm )
151
+ test-build-across-targets :
152
+ name : build tests (${{ matrix.target }} )
153
153
needs : check
154
+ strategy :
155
+ matrix :
156
+ target : [wasm32-unknown-unknown, wasm32-wasi]
154
157
runs-on : ubuntu-latest
155
158
steps :
156
159
- uses : actions/checkout@v4
157
160
- uses : dtolnay/rust-toolchain@stable
158
161
with :
159
- target : wasm32-unknown-unknown
162
+ target : ${{ matrix.target }}
160
163
- name : build all tests
161
164
run : cargo test --no-run --all-features
162
165
@@ -169,7 +172,7 @@ jobs:
169
172
- style
170
173
- cargo-hack
171
174
- check-msrv
172
- - test-build-wasm
175
+ - test-build-across-targets
173
176
- test
174
177
steps :
175
178
- run : exit 0
You can’t perform that action at this time.
0 commit comments