Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Dec 27, 2024
1 parent 6968098 commit 74e34ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
codesign: '-'
codesign-prefix: 'com.example.'
codesign-options: 'runtime'
upx: ${{ startsWith(matrix.os, 'ubuntu-') && matrix.target != 'x86_64-pc-windows-gnu' && (matrix.target != 'aarch64-unknown-linux-gnu' || matrix.build_tool == 'cargo') }}
upx: ${{ startsWith(matrix.os, 'ubuntu-') && (matrix.target != 'aarch64-unknown-linux-gnu' || matrix.build_tool == 'cargo') }}
- name: Check action outputs
run: |
printf 'outputs.archive should not be empty\n'
Expand All @@ -125,12 +125,12 @@ jobs:
- name: Check UPX
if: |
startsWith(matrix.os, 'ubuntu-') &&
matrix.target != 'x86_64-pc-windows-gnu' &&
(matrix.target != 'aarch64-unknown-linux-gnu' || matrix.build_tool == 'cargo')
run: |
printf 'binary should be compressed with UPX\n'
target_dir="./test-crate/target/release"
tar -C "$target_dir" -xf "${{ steps.upload-rust-binary-action.outputs.tar }}"
file "$target_dir/test-crate"
test -n "$(file "$target_dir/test-crate" | grep 'no section header')"
- name: Check b2 output
if: ${{ contains(matrix.checksums || 'b2,sha256,sha512,sha1,md5', 'b2') }}
Expand Down

0 comments on commit 74e34ce

Please sign in to comment.