Skip to content

Commit d448c19

Browse files
author
Julian LALU
committed
Try to fix Windows WASM
1 parent ec63d42 commit d448c19

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.github/workflows/windows_wasm.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,16 @@ jobs:
1414
run: |
1515
C:/msys64/usr/bin/pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain --noconfirm
1616
$env:Path += ";C:\msys64\ucrt64\bin"
17-
- name: Clone emsdk
17+
- name: Install Emscripten
1818
run: |
1919
git clone https://github.com/emscripten-core/emsdk.git
2020
cd emsdk
2121
git pull
22-
- name: Install Emscripten
23-
run: |
24-
cd emsdk
25-
./emsdk install latest
26-
./emsdk activate latest
27-
shell: bash
28-
- name: Set Emscripten env
29-
run: |
30-
cd emsdk
31-
./emsdk construct_env
32-
echo "EMSDK=$PWD" >> $GITHUB_ENV
33-
echo "$PWD/upstream/emscripten" >> $GITHUB_PATH
34-
shell: bash
22+
./emsdk.bat install latest
23+
./emsdk.bat activate latest
24+
./emsdk_env.bat
3525
- name: Generate
36-
run: emcmake cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Release -Btarget
26+
run: emcmake.bat cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Release -Btarget
3727
shell: bash
3828
- name: Build
3929
run: cmake --build target -- -j 16

0 commit comments

Comments
 (0)