83753af944
* Running CI also on windows and macOS * Rust 2021 formatting * clippy::upper_case_acronyms where appropriate * Allowing unknown clippy lints * Further clippy updates * Building wasm client during CI * wasm actions update * added working directory to cargo jobs * Temporarily disabled wasm test and clippy
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
name: Wasm Client
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ci:
|
|
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 |