Skip to content

Commit 1c0a09c

Browse files
committed
Skip strip for cross-compiled ARM64 Linux binary
The strip command fails on cross-compiled ARM64 binaries because the host strip tool doesn't recognize the ARM64 format. Cross already optimizes the binary, so stripping isn't necessary for this target.
1 parent 875a158 commit 1c0a09c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
working-directory: nexadb-cli-rust
6666

6767
- name: Strip binary (Unix)
68-
if: matrix.os != 'windows-latest'
68+
if: matrix.os != 'windows-latest' && matrix.target != 'aarch64-unknown-linux-gnu'
6969
run: strip target/${{ matrix.target }}/release/${{ matrix.artifact_name }}
7070
working-directory: nexadb-cli-rust
7171

0 commit comments

Comments
 (0)