diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-02-21 17:45:50 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 17:45:50 +0530 |
| commit | c75c9a072715d6c0f3a91725b75ff62708c5e011 (patch) | |
| tree | cd312e6d6adceb8c5b06e973e8631cef88966dbe /.github/workflows/ci.generate.ts | |
| parent | 6592a92c203b30a8aae72a645ce1822fd740a2a7 (diff) | |
perf: strip `denort` on unix (#22426)
denort are release binaries for `deno compile`. Stripping debuginfo and
symbols lets us ship a smaller binary. The same source can be run under
`deno` CLI to get the proper Rust backtrace.
stripped denort is 55MB on macOS.
Diffstat (limited to '.github/workflows/ci.generate.ts')
| -rwxr-xr-x | .github/workflows/ci.generate.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 65d051cbd..6a8db159c 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -704,6 +704,7 @@ const ci = { run: [ "cd target/release", "zip -r deno-${{ matrix.arch }}-unknown-linux-gnu.zip deno", + "strip denort", "zip -r denort-${{ matrix.arch }}-unknown-linux-gnu.zip denort", "./deno types > lib.deno.d.ts", ].join("\n"), @@ -729,6 +730,7 @@ const ci = { "--entitlements-xml-file=cli/entitlements.plist", "cd target/release", "zip -r deno-${{ matrix.arch }}-apple-darwin.zip deno", + "strip denort", "zip -r denort-${{ matrix.arch }}-apple-darwin.zip denort", ] .join("\n"), |
