File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,35 @@ jobs:
160
160
- name : test
161
161
run : cross test --all --features unstable --target ${{ matrix.target }}
162
162
163
+ check_wasm :
164
+ name : Check wasm targets
165
+ runs-on : ubuntu-latest
166
+ strategy :
167
+ matrix :
168
+ rust : [nightly, beta, stable]
169
+
170
+ steps :
171
+ - uses : actions/checkout@master
172
+
173
+ - name : Install rust with wasm32-unknown-unknown
174
+ uses : actions-rs/toolchain@v1
175
+ with :
176
+ toolchain : ${{ matrix.rust }}
177
+ target : wasm32-unknown-unknown
178
+ override : true
179
+
180
+ - name : Cache cargo registry
181
+ uses : actions/cache@v2
182
+ with :
183
+ path : ~/.cargo/registry
184
+ key : wasm32-${{ matrix.rust }}-cargo-registry-${{ hashFiles('**/Cargo.toml') }}
185
+
186
+ - name : check
187
+ uses : actions-rs/cargo@v1
188
+ with :
189
+ command : check
190
+ args : --target wasm32-unknown-unknown
191
+
163
192
check_fmt_and_docs :
164
193
name : Checking fmt and docs
165
194
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments