File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -35,4 +35,5 @@ RUN rustup default ${RUST_TOOLCHAIN} \
3535 && cargo install --locked wasm-tools \
3636 && cargo install wkg \
3737 && cargo install wac-cli \
38- && cargo install cargo-component --locked
38+ && cargo install cargo-component --locked \
39+ && cargo install wit-bindgen-cli --locked
Original file line number Diff line number Diff line change 7777 cache-from : type=registry,ref=ghcr.io/${{ github.repository_owner }}/wasm-clang-builder:buildcache
7878 cache-to : ${{ env.CACHE_TO }}
7979 - name : Build Modules
80- run : just build-wasm-examples release
80+ run : |
81+ just ensure-tools
82+ just build-wasm-examples release
8183 shell : bash
8284 working-directory : src/wasmsamples
8385 - name : Upload Wasm Modules
Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ make-vendor-tar:
1515 - C ./ src wasm_runtime hyperlight_wasm_macro
1616
1717ensure-tools :
18- cargo install --locked wasm-tools --version 1.235.0
18+ cargo install wasm-tools --locked --version 1.235.0
1919 cargo install cargo-component --locked --version 0.21.1
20+ cargo install wit-bindgen-cli --locked --version 0.43.0
2021
2122build-all target = default-target : (build target) (build-wasm-examples target) (build-rust-wasm-examples target) (build-wasm-runtime target) (build-rust-component-examples target)
2223
@@ -30,7 +31,7 @@ mkdir-redist target=default-target:
3031build-wasm-runtime target = default-target :
3132 cd ./ src/ wasm_runtime && cargo build --verbose --profile={{ if target == " debug" {" dev" } else { target } }} && rm -R target
3233
33- build-wasm-examples target = default-target : ( ensure-tools )
34+ build-wasm-examples target = default-target :
3435 wasm-tools component wit ./ src/ wasmsamples/ components/ runcomponent.wit -w -o ./ src/ wasmsamples/ components/ runcomponent-world.wasm
3536 {{ build-wasm-examples-command }} {{ target}}
3637
You can’t perform that action at this time.
0 commit comments