.... #99
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: CI | |
on: [push, pull_request] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
# Fetch source code | |
- name: Fetch source code | |
uses: actions/checkout@v2 | |
# Install WASM | |
- name: Install WASM | |
shell: bash | |
run: | | |
rustup target install wasm32-unknown-unknown | |
# Build | |
- name: Build | |
run: | | |
cargo build | |
# Build WASM | |
- name: Build WASM | |
run: | | |
cargo build --release --target wasm32-unknown-unknown | |
- name: run tests | |
run: | | |
cargo test |