Skip to content

Commit 211c9b6

Browse files
committed
compute size with library_glfw.js as well
1 parent afcb9a5 commit 211c9b6

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/compute_size_manual.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,16 @@ jobs:
2727
source ./emsdk_env.sh
2828
emcc -v
2929
30-
- name: Compile with port
30+
- name: Compiling with library_glfw.js
31+
working-directory: ${{github.workspace}}/emscripten-glfw
32+
run: |
33+
source ${{github.workspace}}/emscripten/emsdk_env.sh
34+
mkdir build-with-library_glfw
35+
emcc --version
36+
emcc -sUSE_GLFW=3 main.cpp -O2 -o build-with-library_glfw/index.html
37+
ls -l build-with-library_glfw
38+
39+
- name: Compiling with contrib.glfw3
3140
working-directory: ${{github.workspace}}/emscripten-glfw
3241
run: |
3342
source ${{github.workspace}}/emscripten/emsdk_env.sh
@@ -36,7 +45,7 @@ jobs:
3645
emcc --use-port=contrib.glfw3 examples/example_minimal/main.cpp -O2 -o build-with-port/index.html
3746
ls -l build-with-port
3847
39-
- name: Compile with port (small)
48+
- name: Compiling with contrib.glfw3 (small)
4049
working-directory: ${{github.workspace}}/emscripten-glfw
4150
run: |
4251
source ${{github.workspace}}/emscripten/emsdk_env.sh

0 commit comments

Comments
 (0)