Skip to content

Commit

Permalink
add Emscipten
Browse files Browse the repository at this point in the history
Signed-off-by: MrThanlon <i@anclx.cc>
  • Loading branch information
MrThanlon committed Nov 21, 2023
1 parent abb3bd7 commit 05a392d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,17 @@ jobs:
# Run install
- name: Install
run: |
cd tiny-prof-viewer
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
cd ../tiny-prof-viewer
npm install
# Run build
- name: Build
run: |
source emsdk/emsdk_env.sh
cd tiny-prof-viewer
make -C src/elfsym
npm run build --base=/tiny-prof
Expand Down

0 comments on commit 05a392d

Please sign in to comment.