Skip to content

Commit

Permalink
CI: Include dSYMs in release for macOS dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jcm93 committed Jan 20, 2025
1 parent 994fbc4 commit 93a9c7b
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,29 @@ jobs:
mv ${GITHUB_WORKSPACE}/qt6-macos-*/*.tar.xz ${{ github.workspace }}
- name: Package macOS debug symbols
run: |
: Package macOS dependencies
shopt -s extglob
for arch in arm64 x86_64 universal; do
_temp=$(mktemp -d)
pushd "${_temp}" > /dev/null
for artifact in ${GITHUB_WORKSPACE}/**/macos-@(deps|ffmpeg)-!(qt6*)-${arch}-dSYMs.*; do
case ${artifact} in
*.zip) unzip -o ${artifact} > /dev/null ;;
*.tar.xz) XZ_OPT=-T0 tar -xvJf ${artifact} ;;
*.tar.gz) tar -xvzf ${artifact} ;;
esac
done
XZ_OPT=-T0 tar -cvJf macos-deps-${{ steps.metadata.outputs.version }}-${arch}-dSYMs.tar.xz -- *.dSYM
mv macos-deps-${{ steps.metadata.outputs.version }}-${arch}-dSYMs.tar.xz ${GITHUB_WORKSPACE}
popd > /dev/null
done
- name: Generate Checksums
run: |
: Generate Checksums
Expand All @@ -678,6 +701,6 @@ jobs:
files: |
${{ github.workspace }}/windows-*-x64*.zip
${{ github.workspace }}/windows-*-x86*.zip
${{ github.workspace }}/macos-*-arm64.tar.xz
${{ github.workspace }}/macos-*-x86_64.tar.xz
${{ github.workspace }}/macos-*-universal.tar.xz
${{ github.workspace }}/macos-*-arm64?(-dSYMs).tar.xz
${{ github.workspace }}/macos-*-x86_64?(-dSYMs).tar.xz
${{ github.workspace }}/macos-*-universal?(-dSYMs).tar.xz

0 comments on commit 93a9c7b

Please sign in to comment.