From 0ae8d1595343c83eed66e19e2eace43cf080bcf6 Mon Sep 17 00:00:00 2001 From: Srinath Setty Date: Tue, 31 Jan 2023 16:44:58 -0800 Subject: [PATCH] add Wasm build to CI (#134) --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f311d2b..31ac63a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,8 +17,12 @@ jobs: run: rustup component add rustfmt - name: Install clippy run: rustup component add clippy + - name: Install Wasm target + run: rustup target add wasm32-unknown-unknown - name: Build run: cargo build --verbose + - name: Wasm build + run: cargo build --target wasm32-unknown-unknown - name: Build examples run: cargo build --examples --verbose - name: Run tests