Skip to content

Commit

Permalink
Fix packaging for MacOS release builds
Browse files Browse the repository at this point in the history
Let CPack use sudo when invoking hdiutil to ensure that it succeeds.
This mitigates an issue that causes hdiutil to fail very often for MacOS
versions beyond 12. The cause of the issue is unknown.

See actions/runner-images#7522 (comment)
  • Loading branch information
leonlynch committed Oct 19, 2024
1 parent 8390cab commit 9582cd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/macos-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ jobs:
-DQT_DIR=${{ env.QT_DIR }} \
-DBUILD_DUKPT_UI=YES \
-DBUILD_MACOSX_BUNDLE=YES \
-DCPACK_COMMAND_HDIUTIL="/usr/bin/sudo /usr/bin/hdiutil" \
-DSIGN_MACOSX_BUNDLE=openemv.org
- name: Build
Expand Down

0 comments on commit 9582cd3

Please sign in to comment.