Skip to content

Commit

Permalink
Specify versions of wasmtime/wasm-tools on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 30, 2024
1 parent 5a008b5 commit ef131d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ jobs:
- run: cargo build --target wasm32-wasi --no-default-features
- name: Install Wasmtime
uses: bytecodealliance/actions/wasmtime/setup@v1
with:
version: "17.0.0"
- name: Install wasm-tools
uses: bytecodealliance/actions/wasm-tools/setup@v1
with:
version: "1.0.57"
- run: cargo build --examples --target wasm32-wasi
- run: curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.0/wasi_snapshot_preview1.command.wasm
- run: wasm-tools component new ./target/wasm32-wasi/debug/examples/hello-world.wasm --adapt ./wasi_snapshot_preview1.command.wasm -o component.wasm
Expand Down

0 comments on commit ef131d1

Please sign in to comment.