Skip to content

Commit f162807

Browse files
authored
ci: switch from cargo-wasi to directly using the wasip1 target (#306)
1 parent fa8ad00 commit f162807

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@ jobs:
4545
run: cargo build
4646
- name: Test
4747
run: cargo test
48-
wasi:
49-
name: WASI Test Build
48+
wasip1:
49+
name: WASI P1 Test Build
5050
runs-on: ubuntu-latest
5151
steps:
5252
- name: Checkout
5353
uses: actions/checkout@v4
5454
- name: Install Rust
5555
uses: dtolnay/rust-toolchain@nightly
56-
- name: Install Cargo WASI
57-
run: cargo install cargo-wasi
56+
with:
57+
targets: wasm32-wasip1
5858
- name: Build
59-
run: cargo wasi build --features nightly
59+
run: cargo build --target wasm32-wasip1 --features nightly
6060
wasm:
6161
name: WASM Test Build
6262
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)