From c2c2804767b0801c539c67fc5cf8b586af3135fa Mon Sep 17 00:00:00 2001 From: nambrot Date: Tue, 9 Jan 2024 16:04:51 -0500 Subject: [PATCH] Build wasm --- .github/workflows/test.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7959e3cd..9462f34d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,12 +30,19 @@ jobs: key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Install Rust - run: rustup update stable + run: rustup update 1.69 - name: Install target run: rustup target add wasm32-unknown-unknown - - run: cargo test --workspace --exclude hpl-tests + - name: Install cw-optimizoor + run: cargo install cw-optimizoor + + - name: Run tests + run: cargo test --workspace --exclude hpl-tests + + - name: Optimize wasm + run: cargo cw-optimizoor coverage: runs-on: ubuntu-latest