Fix asmjs github action

This commit is contained in:
Alex Moon 2021-06-27 23:18:39 -04:00
parent e993111309
commit 8f7cbb6cf0

View file

@ -152,8 +152,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install emscripten - name: Setup Emscripten toolchain
run: sudo apt-get install emscripten uses: mymindstorm/setup-emsdk@v10
with:
version: 2.0.9 # https://github.com/rust-lang/rust/issues/85821
- name: Install stable - name: Install stable
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
@ -161,7 +163,7 @@ jobs:
toolchain: stable toolchain: stable
target: ${{ matrix.target }} target: ${{ matrix.target }}
- name: Build beep example - name: Build beep example
run: cargo build --example beep --target ${{ matrix.target }} run: cargo build --example beep --release --target ${{ matrix.target }}
wasm32-bindgen-test: wasm32-bindgen-test: