Fix wasm-interpreter tests

This commit is contained in:
Alex Crichton 2019-02-12 10:46:43 -08:00
parent db4c3bf77b
commit 82b7bdeb93

View File

@ -175,6 +175,11 @@ matrix:
# wasm-interpreter tests work alright
- name: "test wasm-bindgen-wasm-interpreter crate"
install:
- git clone https://github.com/WebAssembly/wabt
- mkdir -p wabt/build
- (cd wabt/build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=sccache -DCMAKE_CXX_COMPILER_ARG1=c++ -DBUILD_TESTS=OFF && cmake --build . -- -j4)
- export PATH=$PATH:`pwd`/wabt/build
script: cargo test -p wasm-bindgen-wasm-interpreter
if: branch = master