Skip to content

Commit

Permalink
fix wasi test
Browse files Browse the repository at this point in the history
  • Loading branch information
nagisa committed Nov 13, 2024
1 parent bdb1a18 commit 0e525ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ jobs:
with:
toolchain: nightly
default: true
target: wasm32-wasi
target: wasm32-wasip1
- run: |
curl -Lf https://github.com/bytecodealliance/wasmtime/releases/download/v24.0.0/wasmtime-v24.0.0-x86_64-linux.tar.xz | tar xJf - -C ${{ runner.tool_cache }}
echo "${{ runner.tool_cache }}/wasmtime-v24.0.0-x86_64-linux" >> $GITHUB_PATH
echo "CARGO_TARGET_WASM32_WASI_RUNNER=wasmtime run --" >> $GITHUB_ENV
- run: cargo test --target wasm32-wasi --all -- --nocapture
echo "CARGO_TARGET_WASM32_WASIP1_RUNNER=wasmtime run --" >> $GITHUB_ENV
- run: cargo test --target wasm32-wasip1 --all -- --nocapture

0 comments on commit 0e525ab

Please sign in to comment.