Skip to content

Commit 6968098

Browse files
committed
Try aarch64-unknown-linux-gnu with cargo
1 parent 0b48564 commit 6968098

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
codesign: '-'
100100
codesign-prefix: 'com.example.'
101101
codesign-options: 'runtime'
102-
upx: ${{ startsWith(matrix.os, 'ubuntu-') && matrix.target != 'x86_64-pc-windows-gnu' && matrix.target != 'aarch64-unknown-linux-gnu' }}
102+
upx: ${{ startsWith(matrix.os, 'ubuntu-') && matrix.target != 'x86_64-pc-windows-gnu' && (matrix.target != 'aarch64-unknown-linux-gnu' || matrix.build_tool == 'cargo') }}
103103
- name: Check action outputs
104104
run: |
105105
printf 'outputs.archive should not be empty\n'
@@ -123,7 +123,10 @@ jobs:
123123
printf 'outputs.md5 should be a file\n'
124124
test -f "${{ steps.upload-rust-binary-action.outputs.md5 }}"
125125
- name: Check UPX
126-
if: startsWith(matrix.os, 'ubuntu-') && matrix.target != 'x86_64-pc-windows-gnu' && matrix.target != 'aarch64-unknown-linux-gnu'
126+
if: |
127+
startsWith(matrix.os, 'ubuntu-') &&
128+
matrix.target != 'x86_64-pc-windows-gnu' &&
129+
(matrix.target != 'aarch64-unknown-linux-gnu' || matrix.build_tool == 'cargo')
127130
run: |
128131
printf 'binary should be compressed with UPX\n'
129132
target_dir="./test-crate/target/release"

0 commit comments

Comments
 (0)