e1bea43ff4
* Generate TS types on push * run shell * fix typo * pango * libpango-dev * hopefully all deps are in now :) Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com>
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
name: Wasm Client
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
wasm:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
target: wasm32-unknown-unknown
|
|
override: true
|
|
components: rustfmt, clippy
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --manifest-path clients/webassembly/Cargo.toml --target wasm32-unknown-unknown
|
|
|
|
# for some reason this does not seem to work correctly, leave it for later, building is good enough for now
|
|
# - uses: actions-rs/cargo@v1
|
|
# with:
|
|
# command: test
|
|
# args: --manifest-path clients/webassembly/Cargo.toml --target wasm32-unknown-unknown
|
|
|
|
- uses: actions-rs/cargo@v1
|
|
with:
|
|
command: fmt
|
|
args: --manifest-path clients/webassembly/Cargo.toml -- --check
|
|
|
|
# for some reason this does not seem to work correctly, leave it for later, building is good enough for now
|
|
# - uses: actions-rs/cargo@v1
|
|
# with:
|
|
# command: clippy
|
|
# args: --manifest-path clients/webassembly/Cargo.toml --target wasm32-unknown-unknown -- -D warnings |