-
Notifications
You must be signed in to change notification settings - Fork 47
Add macOS code signing and notarization #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
revmischa
wants to merge
4
commits into
master
Choose a base branch
from
macos-codesigning
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+311
−17
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
56a80d2
Add code signing and notarization for macOS releases
revmischa 9e73972
Add microphone entitlements for macOS
revmischa afc7822
Fix signing for Frameworks, rename job, add trailing newline
revmischa bf04173
Add ZIP and DMG artifacts to macOS release build
kblaschke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| # Unified release workflow | ||
| # Triggers on version tags, builds all platforms, and creates a GitHub release | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
|
|
||
| jobs: | ||
| build-linux: | ||
| name: Build Linux | ||
| uses: ./.github/workflows/release-linux.yaml | ||
|
|
||
| build-windows: | ||
| name: Build Windows | ||
| uses: ./.github/workflows/release-windows.yaml | ||
|
|
||
| build-macos: | ||
| name: Build macOS | ||
| uses: ./.github/workflows/release-macos.yaml | ||
| secrets: | ||
| MACOS_CERTIFICATE_APPLICATION: ${{ secrets.MACOS_CERTIFICATE_APPLICATION }} | ||
| MACOS_CERTIFICATE_INSTALLER: ${{ secrets.MACOS_CERTIFICATE_INSTALLER }} | ||
| MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }} | ||
| MACOS_NOTARY_API_KEY: ${{ secrets.MACOS_NOTARY_API_KEY }} | ||
| MACOS_NOTARY_KEY_ID: ${{ secrets.MACOS_NOTARY_KEY_ID }} | ||
| MACOS_NOTARY_ISSUER_ID: ${{ secrets.MACOS_NOTARY_ISSUER_ID }} | ||
|
|
||
| create-release: | ||
| name: Create Release | ||
| needs: [build-linux, build-windows, build-macos] | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
|
|
||
| steps: | ||
| - name: Download all artifacts | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| path: artifacts | ||
|
|
||
| - name: Display artifacts | ||
| run: ls -R artifacts | ||
|
|
||
| - name: Create Release | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| generate_release_notes: true | ||
| files: | | ||
| artifacts/**/*.pkg | ||
| artifacts/**/*.deb | ||
| artifacts/**/*.tar.gz | ||
| artifacts/**/*.zip | ||
| artifacts/**/*.msi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| <plist version="1.0"> | ||
| <dict> | ||
| <key>CFBundleDevelopmentRegion</key> | ||
| <string>en</string> | ||
| <key>CFBundleExecutable</key> | ||
| <string>@MACOSX_BUNDLE_EXECUTABLE_NAME@</string> | ||
| <key>CFBundleIconFile</key> | ||
| <string>@MACOSX_BUNDLE_ICON_FILE@</string> | ||
| <key>CFBundleIdentifier</key> | ||
| <string>@MACOSX_BUNDLE_GUI_IDENTIFIER@</string> | ||
| <key>CFBundleInfoDictionaryVersion</key> | ||
| <string>6.0</string> | ||
| <key>CFBundleName</key> | ||
| <string>@MACOSX_BUNDLE_BUNDLE_NAME@</string> | ||
| <key>CFBundlePackageType</key> | ||
| <string>APPL</string> | ||
| <key>CFBundleShortVersionString</key> | ||
| <string>@MACOSX_BUNDLE_SHORT_VERSION_STRING@</string> | ||
| <key>CFBundleVersion</key> | ||
| <string>@MACOSX_BUNDLE_BUNDLE_VERSION@</string> | ||
| <key>NSHumanReadableCopyright</key> | ||
| <string>@MACOSX_BUNDLE_COPYRIGHT@</string> | ||
| <key>NSHighResolutionCapable</key> | ||
| <true/> | ||
| <key>NSMicrophoneUsageDescription</key> | ||
| <string>projectM requires microphone access to visualize audio input.</string> | ||
| </dict> | ||
| </plist> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <installer-gui-script minSpecVersion="2"> | ||
| <title>projectM</title> | ||
| <organization>org.projectm-visualizer</organization> | ||
| <welcome file="macos-welcome.txt"/> | ||
| <readme file="macos-readme.txt"/> | ||
| <license file="gpl-3.0.rtf"/> | ||
| <options customize="never" require-scripts="false" hostArchitectures="x86_64,arm64"/> | ||
| <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/> | ||
| <choices-outline> | ||
| <line choice="default"/> | ||
| </choices-outline> | ||
| <choice id="default" title="projectM"> | ||
| <pkg-ref id="org.projectm-visualizer.projectmsdl"/> | ||
| </choice> | ||
| <pkg-ref id="org.projectm-visualizer.projectmsdl" version="0" onConclusion="none">projectMSDL-component.pkg</pkg-ref> | ||
| </installer-gui-script> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| <plist version="1.0"> | ||
| <dict> | ||
| <key>com.apple.security.device.audio-input</key> | ||
| <true/> | ||
| </dict> | ||
| </plist> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.