Skip to content

fix: crate build issues with stream feature #1525

fix: crate build issues with stream feature

fix: crate build issues with stream feature #1525

Workflow file for this run

name: Rust
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
channel: [stable, beta, nightly]
os: [ubuntu, macos, windows]
steps:
- uses: actions/checkout@v2
- run: rustup default ${{ matrix.channel }}
- run: cargo build --verbose --all-targets
- run: cargo test
- run: cargo build --verbose --all-targets -F stream
- run: cargo test -F stream
wasm-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: rustup default stable
- run: rustup target add wasm32-unknown-unknown
- run: cargo build --verbose --target=wasm32-unknown-unknown --no-default-features
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cargo fmt --all -- --check
- run: cargo clippy --tests --examples