Skip to content

Commit 18bfbb4

Browse files
author
Julian LALU
committed
Update workflows
1 parent 884e2ce commit 18bfbb4

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/ubuntu_wasm.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,16 @@ jobs:
1111
- name: Checkout repository
1212
uses: actions/checkout@v3
1313
- name: Install Emscripten SDK
14-
uses: mymindstorm/setup-emsdk@v14
14+
run: |
15+
git clone https://github.com/emscripten-core/emsdk.git
16+
cd emsdk
17+
git pull
18+
emsdk install latest
19+
emsdk activate latest
1520
- name: Generate
16-
run: emcmake cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Release -Btarget
21+
run: |
22+
source ./emsdk_env.sh
23+
emcmake cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Release -Btarget
1724
- name: Build
1825
run: cmake --build target -- -j 16
1926
- name: Test

.github/workflows/windows_wasm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ 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: Install Emscripten
17+
- name: Install Emscripten SDK
1818
run: |
1919
git clone https://github.com/emscripten-core/emsdk.git
2020
cd emsdk

0 commit comments

Comments
 (0)