Skip to content

Commit 36fc777

Browse files
authored
Daniel/chromadeck/webassembly bindings (#162)
* added wasm bindings and wasm action for github
1 parent 29fd68b commit 36fc777

File tree

3 files changed

+560
-23
lines changed

3 files changed

+560
-23
lines changed

.github/workflows/chromadeck_build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,27 @@ jobs:
2727
run: ./runtests.sh --general
2828
working-directory: VortexEngine/tests
2929

30+
wasm:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Checkout current repository
34+
uses: actions/checkout@v3
35+
- name: Update Package Lists
36+
run: sudo apt-get update
37+
- name: Install Emscripten
38+
run: |
39+
sudo apt install -y cmake python3
40+
git clone https://github.com/emscripten-core/emsdk.git
41+
cd emsdk
42+
./emsdk install latest
43+
./emsdk activate latest
44+
working-directory: VortexEngine/VortexLib
45+
- name: Build Webassembly
46+
run: |
47+
source ./emsdk/emsdk_env.sh
48+
make -j wasm
49+
working-directory: VortexEngine/VortexLib
50+
3051
docs:
3152
needs: test
3253
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)