Skip to content

Commit

Permalink
Merge branch 'daniel/core/webassembly_bindings' into daniel/handle/we…
Browse files Browse the repository at this point in the history
…bassembly_bindings
  • Loading branch information
Unreal-Dan committed Dec 14, 2023
2 parents b930ac4 + ec5e839 commit 59283e6
Show file tree
Hide file tree
Showing 3 changed files with 560 additions and 23 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/handle_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,27 @@ jobs:
build/VortexEngine.ino.hex
build/VortexEngine.ino.uf2
wasm:
runs-on: ubuntu-latest
steps:
- name: Checkout current repository
uses: actions/checkout@v3
- name: Update Package Lists
run: sudo apt-get update
- name: Install Emscripten
run: |
sudo apt install -y cmake python3
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
working-directory: VortexEngine/VortexLib
- name: Build Webassembly
run: |
source ./emsdk/emsdk_env.sh
make -j wasm
working-directory: VortexEngine/VortexLib

docs:
needs: embedded
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 59283e6

Please sign in to comment.