Skip to content

Commit

Permalink
Add emscripten install for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Captainfl4me committed Apr 30, 2024
1 parent 7dc97a6 commit 60a7574
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup env
run: rustup target add wasm32-unknown-emscripten
run: rustup toolchain install nightly && rustup default nightly && rustup target add wasm32-unknown-emscripten
- name: Install EMCC
run: git clone https://github.com/emscripten-core/emsdk.git && cd ./emsdk && ./emsdk install latest && ./emsdk activate latest && source emsdk_env.sh
- run: emcc -v
- name: Build
run: ./build_wasm.sh

0 comments on commit 60a7574

Please sign in to comment.