add the ability to strip the debug symbols for smaller binaries on mac and linux

This commit is contained in:
Darren Schroeder 2021-11-15 13:47:46 -06:00
parent 493bc2b1c9
commit d09e1148b2

View file

@ -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