File tree Expand file tree Collapse file tree 1 file changed +13
-19
lines changed Expand file tree Collapse file tree 1 file changed +13
-19
lines changed Original file line number Diff line number Diff line change @@ -170,27 +170,21 @@ jobs:
170170 - name : Cache dependencies
171171 uses : Swatinem/rust-cache@v2
172172
173- # - name: Install wasmtime
174- # uses: taiki-e/install-action@v2
175- # with:
176- # tool: wasmtime
177-
178- # - name: Install cargo-wasi
179- # uses: taiki-e/install-action@v2
180- # with:
181- # tool: cargo-wasi
182-
183- # - name: Build for WASI
184- # run: cargo wasi build --features nightly --verbose
173+ - name : Install wasmtime
174+ uses : taiki-e/install-action@v2
175+ with :
176+ tool : wasmtime
185177
186- # - name: Build examples for WASI
187- # run: cargo wasi build --features nightly --examples --verbose
188-
189- # - name: Run tests in WASI environment
190- # run: cargo wasi test --features nightly --verbose
178+ - name : Install cargo-wasi
179+ uses : taiki-e/install-action@v2
180+ with :
181+ tool : cargo-wasi
191182
192183 - name : Build for WASI
193- run : cargo build --target wasm32-wasip2 --verbose
184+ run : cargo wasi build --verbose
194185
195186 - name : Build examples for WASI
196- run : cargo build --examples --target wasm32-wasip2 --verbose
187+ run : cargo wasi build --examples --verbose
188+
189+ - name : Run tests in WASI environment
190+ run : cargo wasi test --verbose
You can’t perform that action at this time.
0 commit comments