Check wasm target is working by running 'cargo check' on the demo_web package (#36)

This commit is contained in:
Sam Samai 2020-10-30 22:51:16 +11:00 committed by GitHub
parent a79aaa76a4
commit dbae893977
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,22 @@ jobs:
with: with:
command: check command: check
check_demo_web:
name: Check demo_web
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup target add wasm32-unknown-unknown
- uses: actions-rs/cargo@v1
with:
command: check
args: -p demo_web --target wasm32-unknown-unknown
test: test:
name: Test Suite name: Test Suite
runs-on: ubuntu-latest runs-on: ubuntu-latest