-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a80ef5d
commit 9475021
Showing
5 changed files
with
25 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
# This starter workflow is for a CMake project running on a single platform. There is a different starter workflow if you need cross-platform coverage. | ||
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-multi-platform.yml | ||
name: Build macOS 13 (Intel) | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
# push: | ||
# branches: | ||
# - main | ||
push: | ||
branches: | ||
- main | ||
env: | ||
BUILD_TYPE: Release | ||
jobs: | ||
|
@@ -51,18 +49,18 @@ jobs: | |
mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.app" packaging/dmg | ||
# Run appdmg to create the .dmg | ||
cd packaging && appdmg dmg.json blocks.dmg | ||
codesign -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" --timestamp -i com.soonth.blocks --force blocks.dmg | ||
xcrun notarytool submit blocks.dmg --apple-id ${{ secrets.NOTARIZATION_USERNAME }} --password ${{ secrets.NOTARIZATION_PASSWORD }} --team-id ${{ secrets.TEAM_ID }} --wait | ||
xcrun stapler staple blocks.dmg | ||
cd packaging && appdmg dmg.json blocks_mac_intel.dmg | ||
codesign -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" --timestamp -i com.soonth.blocks --force blocks_mac_intel.dmg | ||
xcrun notarytool submit blocks_mac_intel.dmg --apple-id ${{ secrets.NOTARIZATION_USERNAME }} --password ${{ secrets.NOTARIZATION_PASSWORD }} --team-id ${{ secrets.TEAM_ID }} --wait | ||
xcrun stapler staple blocks_mac_intel.dmg | ||
- name: Upload built files | ||
uses: actions/[email protected] | ||
with: | ||
name: blocks.dmg | ||
path: packaging/blocks.dmg | ||
name: blocks_mac_intel.dmg | ||
path: packaging/blocks_mac_intel.dmg | ||
upload-to-s3: | ||
uses: ./.github/workflows/upload-to-s3.yml | ||
with: | ||
workflow-name: build-macos-13.yml | ||
secrets: inherit | ||
needs: build | ||
needs: build | ||
with: | ||
file-name: blocks_mac_intel.dmg |
This file contains 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 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 |
---|---|---|
|
@@ -2,9 +2,9 @@ name: Build Windows | |
on: | ||
workflow_dispatch: | ||
pull_request: | ||
# push: | ||
# branches: | ||
# - main | ||
push: | ||
branches: | ||
- main | ||
env: | ||
BUILD_TYPE: Release | ||
jobs: | ||
|
@@ -26,14 +26,13 @@ jobs: | |
- name: Upload built files | ||
uses: actions/[email protected] | ||
with: | ||
name: blocks | ||
name: blocks_win | ||
path: | | ||
D:/a/blocks/blocks/build/blocks_artefacts/Release/VST3/blocks.vst3/Contents/x86_64-win/blocks.vst3 | ||
D:/a/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.exe | ||
upload-to-s3: | ||
needs: build | ||
uses: ./.github/workflows/upload-to-s3.yml | ||
secrets: inherit | ||
with: | ||
file-name: block | ||
final-file-name: blocks_windows | ||
with: | ||
file-name: blocks_win |
This file contains 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