File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed
Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments