Skip to content

Merge pull request #23 from bandprotocol/support-rust-1.70 #161

Merge pull request #23 from bandprotocol/support-rust-1.70

Merge pull request #23 from bandprotocol/support-rust-1.70 #161

Workflow file for this run

name: Owasm Workflow
on: push
jobs:
wasm-test:
runs-on: ubuntu-latest
steps:
- name: Code checkout
uses: actions/checkout@v2
- name: Install Rust and rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install Wabt (wat2wasm)
run: |
wget https://github.com/WebAssembly/wabt/releases/download/1.0.29/wabt-1.0.29-ubuntu.tar.gz
tar -zxf wabt-1.0.29-ubuntu.tar.gz
sudo cp wabt-1.0.29/bin/wat2wasm /usr/local/bin
- name: Check cargo cache
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-owasm-${{ hashFiles('**/Cargo.lock') }}
- name: Run owasm tests
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path Cargo.toml --all