File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 77
77
cache-from : type=registry,ref=ghcr.io/${{ github.repository_owner }}/wasm-clang-builder:buildcache
78
78
cache-to : ${{ env.CACHE_TO }}
79
79
- name : Build Modules
80
- run : just build-wasm-examples release
80
+ run : |
81
+ just ensure-tools
82
+ just build-wasm-examples release
81
83
shell : bash
82
84
working-directory : src/wasmsamples
83
85
- name : Upload Wasm Modules
Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ make-vendor-tar:
15
15
- C ./ src wasm_runtime hyperlight_wasm_macro
16
16
17
17
ensure-tools :
18
- cargo install --locked wasm-tools --version 1.235.0
18
+ cargo install wasm-tools --locked --version 1.235.0
19
19
cargo install cargo-component --locked --version 0.21.1
20
+ cargo install wit-bindgen --locked --version 0.43.0
20
21
21
22
build-all target = default-target : (build target) (build-wasm-examples target) (build-rust-wasm-examples target) (build-wasm-runtime target) (build-rust-component-examples target)
22
23
@@ -30,7 +31,7 @@ mkdir-redist target=default-target:
30
31
build-wasm-runtime target = default-target :
31
32
cd ./ src/ wasm_runtime && cargo build --verbose --profile={{ if target == " debug" {" dev" } else { target } }} && rm -R target
32
33
33
- build-wasm-examples target = default-target : ( ensure-tools )
34
+ build-wasm-examples target = default-target :
34
35
wasm-tools component wit ./ src/ wasmsamples/ components/ runcomponent.wit -w -o ./ src/ wasmsamples/ components/ runcomponent-world.wasm
35
36
{{ build-wasm-examples-command }} {{ target}}
36
37
You can’t perform that action at this time.
0 commit comments