Skip to content

Commit

Permalink
fixup! Import initial engine in C++ compiled to WASM
Browse files Browse the repository at this point in the history
  • Loading branch information
juztamau5 committed Mar 11, 2024
1 parent f505d6b commit 85faf4d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
src/frontend/node_modules
key: cache-modules-${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('src/frontend/pnpm-lock.yaml') }}

- name: Cache emsdk
id: cache-emsdk
uses: actions/cache@v4
with:
path: |
tools/emsdk
key: cache-emsdk-${{ hashFiles('tools/download-emscripten.sh') }}

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand All @@ -66,3 +74,14 @@ jobs:
- name: pnpm build
run: |
pnpm build
- name: Install emsdk
if: steps.cache-emsdk.outputs.cache-hit != 'true'
run: |
./download-emscripten.sh
working-directory: tools

- name: Build wasm libraries
run: |
./build-wasm.sh
working-directory: tools
File renamed without changes.

0 comments on commit 85faf4d

Please sign in to comment.