Skip to content

Commit b15f222

Browse files
committed
Run wasi tests
1 parent 24877cc commit b15f222

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)