Skip to content

Commit

Permalink
build path for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Dec 18, 2023
1 parent e3edb57 commit 52a7059
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install cargo component
run: echo yes | cargo binstall cargo-component
- name: Cargo component build
run: cd crates/seed-keeper-wit && cargo component build && cargo component build --release
run: cargo component build && cd crates/seed-keeper-wit && cargo component build --release

- name: Set up Rust
uses: dtolnay/rust-toolchain@nightly
Expand Down
4 changes: 4 additions & 0 deletions crates/seed-keeper-wit/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ mod wit_tests {
let wasm_path = format!("target/wasm32-wasi/debug/{}.wasm", pkg_name);
let wasm_path = workspace.join(wasm_path);

eprintln!("wasm_path: {:?}", wasm_path);

let mut config = Config::new();
config.cache_config_load_default()?;
config.wasm_backtrace_details(wasmtime::WasmBacktraceDetails::Enable);
Expand Down Expand Up @@ -184,6 +186,8 @@ mod wit_tests {
let wasm_path = format!("target/wasm32-wasi/debug/{}.wasm", pkg_name);
let wasm_path = workspace.join(wasm_path);

eprintln!("wasm_path: {:?}", wasm_path);

let mut config = Config::new();
config.cache_config_load_default().unwrap();
config.wasm_backtrace_details(wasmtime::WasmBacktraceDetails::Enable);
Expand Down

0 comments on commit 52a7059

Please sign in to comment.