Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj committed Dec 20, 2022
1 parent 7c339a3 commit 3bf38ae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,14 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 18.x
# - name: Install emsdk
# run: |
# git clone https://github.com/emscripten-core/emsdk.git
# cd emsdk
# ./emsdk install latest
# ./emsdk activate latest
- name: Install emsdk
run: |
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
- name: Build wasm
run: |
# which cmake
# cmake --version
# . emsdk/emsdk_env.sh
which cmake
cmake --version
. emsdk/emsdk_env.sh
make wasm-build
make wasm-test
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ python-test: python-build
cd python; pytest .

wasm-build:
which cmake
cmake --version
cmake . -B build/native \
-DCMAKE_INSTALL_PREFIX:PATH=${CURDIR}/build/sysroot${PREFIX}
make -C build/native/data install
Expand Down

0 comments on commit 3bf38ae

Please sign in to comment.