commit
7a1fb2d4d2
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@ -110,6 +110,33 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
args: --manifest-path=no_std/no_std_test/Cargo.toml ${{matrix.flags}}
|
args: --manifest-path=no_std/no_std_test/Cargo.toml ${{matrix.flags}}
|
||||||
|
wasm:
|
||||||
|
name: Check Wasm build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
flags:
|
||||||
|
# These fail currently, future PR should fix them
|
||||||
|
# - ""
|
||||||
|
# - "--features wasm-bindgen"
|
||||||
|
- "--no-default-features"
|
||||||
|
- "--no-default-features --features wasm-bindgen"
|
||||||
|
fail-fast: false
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Setup Toolchain
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: ${{ env.RUST_MSRV }}
|
||||||
|
override: true
|
||||||
|
target: wasm32-unknown-unknown
|
||||||
|
- name: Build
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: build
|
||||||
|
args: --target wasm32-unknown-unknown ${{matrix.flags}}
|
||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
name: Check Formatting
|
name: Check Formatting
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user