From 05a392d66e4ac185ebbb1c36f961d00e59a7aeb0 Mon Sep 17 00:00:00 2001 From: MrThanlon Date: Tue, 21 Nov 2023 18:36:58 +0800 Subject: [PATCH] add Emscipten Signed-off-by: MrThanlon --- .github/workflows/publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fdf9e64..f7a40ab 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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