From 8f7cbb6cf0df6abfd0e84d04fd32b8b7dbba9836 Mon Sep 17 00:00:00 2001 From: Alex Moon Date: Sun, 27 Jun 2021 23:18:39 -0400 Subject: [PATCH] Fix asmjs github action --- .github/workflows/cpal.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cpal.yml b/.github/workflows/cpal.yml index 2a3f181..fe0d9f4 100644 --- a/.github/workflows/cpal.yml +++ b/.github/workflows/cpal.yml @@ -152,8 +152,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Install emscripten - run: sudo apt-get install emscripten + - name: Setup Emscripten toolchain + uses: mymindstorm/setup-emsdk@v10 + with: + version: 2.0.9 # https://github.com/rust-lang/rust/issues/85821 - name: Install stable uses: actions-rs/toolchain@v1 with: @@ -161,7 +163,7 @@ jobs: toolchain: stable target: ${{ matrix.target }} - name: Build beep example - run: cargo build --example beep --target ${{ matrix.target }} + run: cargo build --example beep --release --target ${{ matrix.target }} wasm32-bindgen-test: