Skip to content

Commit

Permalink
Daniel/handle/webassembly bindings (#160)
Browse files Browse the repository at this point in the history
* added wasm bindings and wasm action for github
  • Loading branch information
Unreal-Dan authored Dec 14, 2023
1 parent b930ac4 commit 2024b33
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 2024b33

Please sign in to comment.