Skip to content

Commit e2c0796

Browse files
committed
Add build wasm step
1 parent 7dd50b8 commit e2c0796

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/wasm.yml

+15
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,18 @@ jobs:
6262
--confirm-command \
6363
install qt.qt6.672.wasm_singlethread qt.qt6.672.qt5compat
6464
hdiutil detach /Volumes/qt-online-installer-macOS-x64-4.8.0
65+
66+
- name: Print some debug info
67+
shell: bash
68+
run: |
69+
source ~/emsdk/emsdk_env.sh
70+
em++ --version
71+
~/Qt/6.7.2/wasm_singlethread/bin/qmake -v
72+
73+
- name: Build WASM from BasicMinimalC++
74+
shell: bash
75+
run: |
76+
cd examples/BasicMinimalC++/src
77+
source ~/emsdk/emsdk_env.sh
78+
~/Qt/6.7.2/wasm_singlethread/bin/qmake BasicMinimalC++.pro -spec wasm-emscripten
79+
make -j

0 commit comments

Comments
 (0)