Skip to content

Commit

Permalink
Daniel/core/webassembly bindings (#157)
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 9c751db commit 4d8fc60
Show file tree
Hide file tree
Showing 3 changed files with 560 additions and 23 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/core_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,27 @@ jobs:
run: ./runtests.sh --general
working-directory: VortexEngine/tests

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: test
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 4d8fc60

Please sign in to comment.