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