Skip to content

Commit b11b82f

Browse files
authored
Update emscripten.yml
1 parent 313284e commit b11b82f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/emscripten.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -531,15 +531,12 @@ jobs:
531531
fi
532532
533533
emmake make -j ${{ env.ncpus }} check-cppinterop
534-
max_size=$((50 * 1024 * 1024))
535534
os="${{ matrix.os }}"
536535
if [[ "${os}" != macos* ]] ; then
536+
max_size=$((46 * 1024 * 1024))
537537
actual_size=$(stat -c%s "./lib/libclangCppInterOp.so")
538-
echo $actual_size
539-
du -lh ./lib/libclangCppInterOp.so
540-
dir -lh ./lib/libclangCppInterOp.so
541538
if [[ "$actual_size" -gt "$max_size" ]]; then
542-
echo "Error: libclangCppInterOp.so is larger than 50 MB."
539+
echo "Error: libclangCppInterOp.so is larger than 46 MB."
543540
exit 1
544541
fi
545542
fi

0 commit comments

Comments
 (0)