Skip to content

Commit 5e82b26

Browse files
committed
remove cargo-wasi
1 parent 1e6de2f commit 5e82b26

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,30 @@ 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
58+
- name: Build
59+
run: cargo build --target wasm32-wasip1 --features nightly
60+
wasip2:
61+
name: WASI P2 Test Build
62+
runs-on: ubuntu-latest
63+
steps:
64+
- name: Checkout
65+
uses: actions/checkout@v4
66+
- name: Install Rust
67+
uses: dtolnay/rust-toolchain@nightly
68+
with:
69+
targets: wasm32-wasip1
5870
- name: Build
59-
run: cargo wasi build --features nightly
71+
run: cargo build --target wasm32-wasip2 --features nightly
6072
wasm:
6173
name: WASM Test Build
6274
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)