Skip to content

Commit 9134cca

Browse files
committed
Make CI to run rustpython-without-js test
1 parent eac8968 commit 9134cca

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,11 +404,13 @@ jobs:
404404
with: { wabt-version: "1.0.36" }
405405
- name: check wasm32-unknown without js
406406
run: |
407-
cd wasm/wasm-unknown-test
408-
cargo build --release --verbose
409-
if wasm-objdump -xj Import target/wasm32-unknown-unknown/release/wasm_unknown_test.wasm; then
410-
echo "ERROR: wasm32-unknown module expects imports from the host environment" >2
407+
cd example_projects/wasm32_without_js/rustpython-without-js
408+
cargo build
409+
cd ..
410+
if wasm-objdump -xj Import rustpython-without-js/target/wasm32-unknown-unknown/debug/rustpython_without_js.wasm; then
411+
echo "ERROR: wasm32-unknown module expects imports from the host environment" >&2
411412
fi
413+
cargo run --release --manifest-path wasm-runtime/Cargo.toml rustpython-without-js/target/wasm32-unknown-unknown/debug/rustpython_without_js.wasm
412414
- name: build notebook demo
413415
if: github.ref == 'refs/heads/release'
414416
run: |

0 commit comments

Comments
 (0)