@@ -26,16 +26,43 @@ jobs:
2626 uses : bytecodealliance/actions/wasm-tools/setup@v1
2727 with :
2828 version : " 1.202.0"
29- - run : cargo build --examples --target wasm32-wasi
3029 - run : curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasi_snapshot_preview1.command.wasm
30+
31+ - run : cargo build --examples --target wasm32-wasi --no-default-features
32+
33+ - run : wasm-tools component new ./target/wasm32-wasi/debug/examples/hello-world-no_std.wasm --adapt ./wasi_snapshot_preview1.command.wasm -o component.wasm
34+ - run : wasmtime run component.wasm
35+
36+ - run : cargo build --examples --target wasm32-unknown-unknown --no-default-features
37+
38+ - run : wasm-tools component new ./target/wasm32-unknown-unknown/debug/examples/cli_command_no_std.wasm -o component.wasm
39+ - run : wasmtime run component.wasm
40+
41+ - run : wasm-tools component new ./target/wasm32-unknown-unknown/debug/examples/http_proxy_no_std.wasm -o component.wasm
42+ - run : wasm-tools component targets wit component.wasm -w wasi:http/proxy
43+
44+ - run : cargo build --examples --target wasm32-wasi
45+
3146 - run : wasm-tools component new ./target/wasm32-wasi/debug/examples/hello-world.wasm --adapt ./wasi_snapshot_preview1.command.wasm -o component.wasm
3247 - run : wasmtime run component.wasm
48+
3349 - run : cargo build --examples --target wasm32-unknown-unknown
50+
3451 - run : wasm-tools component new ./target/wasm32-unknown-unknown/debug/examples/cli_command.wasm -o component.wasm
3552 - run : wasmtime run component.wasm
53+
3654 - run : wasm-tools component new ./target/wasm32-unknown-unknown/debug/examples/http_proxy.wasm -o component.wasm
3755 - run : wasm-tools component targets wit component.wasm -w wasi:http/proxy
3856
57+ - run : cargo build --examples --target wasm32-wasi --no-default-features --features rand
58+
59+ - run : wasm-tools component new ./target/wasm32-wasi/debug/examples/rand-no_std.wasm --adapt ./wasi_snapshot_preview1.command.wasm -o component.wasm
60+ - run : wasmtime run component.wasm
61+
62+ - run : cargo build --examples --target wasm32-wasi --features rand
63+
64+ - run : wasm-tools component new ./target/wasm32-wasi/debug/examples/rand.wasm --adapt ./wasi_snapshot_preview1.command.wasm -o component.wasm
65+ - run : wasmtime run component.wasm
3966
4067 rustfmt :
4168 name : Rustfmt
0 commit comments