Skip to content

Commit

Permalink
ci: Run wat2wasm4tests check for Rust bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
gumb0 committed Feb 1, 2021
1 parent 65d6768 commit c77f160
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ commands:
else
[[ $OSTYPE = darwin* ]] && os=macos || os=ubuntu
cd /usr/local
curl -L https://github.com/WebAssembly/wabt/releases/download/1.0.20/wabt-1.0.20-$os.tar.gz | sudo tar xz --strip 1
curl -L https://github.com/WebAssembly/wabt/releases/download/1.0.20/wabt-1.0.20-$os.tar.gz | (sudo tar xz --strip 1 || tar xz --strip 1)
fi
install_testfloat:
Expand Down Expand Up @@ -586,6 +586,13 @@ jobs:
command: |
rustfmt --version
cargo fmt --all -- --check
- install_wabt
- run:
name: Check wat2wasm4tests
command: |
rustfmt --version
find bindings/rust -name '*.rs' -print -exec ./wat2wasm4tests.py {} \;
git diff --color --exit-code
- run:
name: Build (debug mode)
command: cargo build
Expand Down

0 comments on commit c77f160

Please sign in to comment.