From 1352dbcbe2dd855feb95ae1edc0f3c7cdbcf8405 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 22 Feb 2024 11:25:22 +0800 Subject: [PATCH] ci: add wasm build check --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1eef7d..e629239 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,19 @@ jobs: if: matrix.rust == '1.70.0' run: cargo test --all --verbose --features ${{matrix.features}} no-format-args-capture + wasm: + name: Check Wasm build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust + uses: dtolnay/rust-toolchain@master + with: + toolchain: stable + targets: wasm32-unknown-unknown + - name: Check wasm target + run: cargo check --target wasm32-unknown-unknown --features fancy + miri: name: Miri runs-on: ubuntu-latest