mirror of https://github.com/ndarilek/tts-rs.git
Add action to ensure that web example compiles.
This commit is contained in:
parent
f7239366f0
commit
d5a692008a
|
@ -82,3 +82,24 @@ jobs:
|
||||||
with:
|
with:
|
||||||
command: apk
|
command: apk
|
||||||
args: build
|
args: build
|
||||||
|
|
||||||
|
check_web_example:
|
||||||
|
name: Check Web Example
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: Swatinem/rust-cache@v1
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: stable
|
||||||
|
components: rustfmt, clippy
|
||||||
|
override: true
|
||||||
|
- uses: actions-rs/install@v0.1
|
||||||
|
with:
|
||||||
|
crate: cargo-make
|
||||||
|
- run: rustup target add wasm32-unknown-unknown
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: make
|
||||||
|
args:
|
||||||
|
|
Loading…
Reference in New Issue