summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Schroeder <343840+fdncred@users.noreply.github.com>2021-11-15 13:47:46 -0600
committerDarren Schroeder <343840+fdncred@users.noreply.github.com>2021-11-15 13:47:46 -0600
commitd09e1148b26a61d1f32216fb4108cbc9aa5a6783 (patch)
treea4ec092ff5db74c54d11dd6e251b907748e173bd
parent493bc2b1c9525a58dceffff65697dfc465c76dd1 (diff)
add the ability to strip the debug symbols for smaller binaries on mac and linux
-rw-r--r--.github/workflows/release.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 93bd73388..9a4374f9f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -28,6 +28,9 @@ jobs:
command: build
args: --release --all --features=extra
+ - name: Strip release binary (linux)
+ run: strip "target/${{ matrix.target }}/release/nu*"
+
- name: Create output directory
run: mkdir output
@@ -70,6 +73,9 @@ jobs:
command: build
args: --release --all --features=extra
+ - name: Strip release binary (macos)
+ run: strip "target/${{ matrix.target }}/release/nu*"
+
- name: Create output directory
run: mkdir output