Skip to content

Commit 313284e

Browse files
authored
Debug
1 parent a9e139c commit 313284e

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/emscripten.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -532,11 +532,16 @@ jobs:
532532
533533
emmake make -j ${{ env.ncpus }} check-cppinterop
534534
max_size=$((50 * 1024 * 1024))
535-
actual_size=$(stat -c%s "./lib/libclangCppInterOp.so")
536535
os="${{ matrix.os }}"
537-
if [[ "${os}" != macos* ]] && [ "$actual_size" -gt "$max_size" ]; then
538-
echo "Error: libclangCppInterOp.so is larger than 50 MB."
539-
exit 1
536+
if [[ "${os}" != macos* ]] ; then
537+
actual_size=$(stat -c%s "./lib/libclangCppInterOp.so")
538+
echo $actual_size
539+
du -lh ./lib/libclangCppInterOp.so
540+
dir -lh ./lib/libclangCppInterOp.so
541+
if [[ "$actual_size" -gt "$max_size" ]]; then
542+
echo "Error: libclangCppInterOp.so is larger than 50 MB."
543+
exit 1
544+
fi
540545
fi
541546
cd ./unittests/CppInterOp/
542547
# Fresh install browsers, and run Emscripten tests in them

0 commit comments

Comments
 (0)