Skip to content

Commit 5e1ad15

Browse files
committed
emscripten installation workflow
1 parent 9640168 commit 5e1ad15

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ jobs:
1515
# - name: Build main WASM (FUTURE)
1616
# run: wasm-pack build
1717
# TODO: add MojoShader build script when the rewrite is complete
18+
# MS deps
19+
- name: Install Emscripten for MojoShader
20+
run: |
21+
git clone https://github.com/emscripten-core/emsdk.git
22+
cd emsdk
23+
./emsdk install latest
24+
./emsdk activate latest
25+
source emsdk_env.sh
1826
- name: Build encoders
1927
run: cd encoders && wasm-pack build --out-dir ../js/encoders
2028
- name: Install dependencies

0 commit comments

Comments
 (0)