Working WASIX API #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check: | |
name: Compile and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
# toolchain: "1.64.0" # Required for [workspace.package] | |
toolchain: nightly | |
override: false | |
target: wasm32-unknown-unknown | |
- name: Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Install wasm-pack | |
run: npm install -g wasm-pack | |
- name: Install wabt | |
run: sudo apt-get update && sudo apt-get install -y wabt | |
- name: Install dependencies, build, and test | |
run: npm install |