Skip to content

Commit ca211f5

Browse files
committed
run wasm32-wasip2 tests on CI
1 parent 1816e18 commit ca211f5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,14 @@ jobs:
7878
uses: dtolnay/rust-toolchain@nightly
7979
with:
8080
targets: wasm32-wasip2
81-
- name: Build
82-
run: cargo build --target wasm32-wasip2 --features nightly
81+
- name: Install wasmtime
82+
run: curl https://wasmtime.dev/install.sh -sSf | bash
83+
- name: Test
84+
env:
85+
RUST_BACKTRACE: 1
86+
RUSTFLAGS: ""
87+
CARGO_TARGET_WASM32_WASIP2_RUNNER: "/home/runner/.wasmtime/bin/wasmtime --dir /tmp/"
88+
run: cargo test --target wasm32-wasip2 --features nightly
8389
wasm:
8490
name: WASM Test Build
8591
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)