From dfc704f90d8afb9e288495ad5cb059a335cc1184 Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Tue, 12 Nov 2024 22:54:03 -0500 Subject: [PATCH] [ci] reduce macos binary size using strip --- .github/workflows/build_all.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index d99e9539..29fd4dda 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -203,6 +203,7 @@ jobs: - name: Prepare mcx package run: | if [[ "$RUNNER_OS" == "macOS" ]]; then + strip bin/mcx* || true cp -a mcxstudio/debug/mcxstudio.app bin cp -a mcxstudio/mcxshow.app bin cp -a mcxstudio/mcxviewer.app bin