-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix signature problem on macosx and highdpi definition
- sign osx bundle without --deep option and remove entitlements - made osx bundle like Apple recommendation - fix highdpi (cherry picked from commit 13f82fe) # Conflicts: # azure-pipelines.yml # osx/launcher.entitlements
- Loading branch information
Michael Bonani
committed
Jan 29, 2021
1 parent
121363e
commit 6a55742
Showing
5 changed files
with
29 additions
and
80 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ brew '[email protected]' | |
brew 'ninja' | ||
brew 'cmake' | ||
brew 'ccache' | ||
brew 'python3' | ||
brew 'imagemagick' | ||
brew 'p7zip' |
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 |
---|---|---|
|
@@ -216,11 +216,7 @@ jobs: | |
#workaround until devops deploy | ||
- script: | | ||
brew uninstall [email protected] | ||
brew uninstall [email protected] | ||
brew untap local/openssl | ||
brew untap local/python2 | ||
brew update | ||
brew unlink [email protected] | ||
brew bundle | ||
displayName: 'Install dependencies with HomeBrew' | ||
|
@@ -236,17 +232,17 @@ jobs: | |
displayName: 'Clone submodules' | ||
- script: | | ||
sudo xcode-select -s /Applications/Xcode_10.1.app/Contents/Developer | ||
sudo xcode-select -s /Applications/Xcode_11.3.1.app/Contents/Developer | ||
(mkdir build && cd build && cmake .. -GNinja -DBoost_DEBUG=OFF -DOPENSSL_LIBRARIES=/usr/local/Cellar/[email protected]/1.0.2t/lib -DOPENSSL_INCLUDE_DIR=/usr/local/Cellar/[email protected]/1.0.2t/include -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_PREFIX_PATH="`pwd`/../Qt/5.13.2/clang_64/" && ninja) | ||
displayName: 'Build with cmake' | ||
- script: | | ||
osx/createbundle.sh $(Build.ArtifactStagingDirectory)/ThymioSuite-$(packet_version)-OsX-13-14.dmg build/bin '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)' | ||
osx/createbundle.sh $(Build.ArtifactStagingDirectory)/ThymioSuite-$(packet_version)-OsX-12-15.dmg build/bin '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)' | ||
displayName: 'Signing and create dmg' | ||
condition: ne(variables['Build.Reason'], 'PullRequest') | ||
- script: | | ||
osx/createbundle.sh $(Build.ArtifactStagingDirectory)/ThymioSuite-$(packet_version)-OsX-13-14.dmg build/bin | ||
osx/createbundle.sh $(Build.ArtifactStagingDirectory)/ThymioSuite-$(packet_version)-OsX-12-15.dmg build/bin | ||
displayName: 'Create Unsigned DMG' | ||
condition: eq(variables['Build.Reason'], 'PullRequest') | ||
|
@@ -255,66 +251,6 @@ jobs: | |
pathtoPublish: '$(Build.ArtifactStagingDirectory)' | ||
artifactName: 'ThymioSuite.dmg' | ||
|
||
- job: BuildOnOsX2 | ||
pool: | ||
vmImage: 'macOS-10.14' | ||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '9.x' | ||
|
||
- task: InstallAppleCertificate@2 | ||
inputs: | ||
certSecureFile: 'Mobsya.p12' | ||
certPwd: $(mobsya-mac-p12) | ||
|
||
- script: | | ||
curl -sL $(blockly_url) | tar xzf - -C . | ||
curl -sL $(scratch_url) | tar xzf - -C . | ||
curl -sL $(vpl3_url) | tar xzf - -C . | ||
displayName: 'Extract scratch, blockly and vpl3' | ||
- script: | | ||
curl -sL https://github.com/Mobsya/ci-data/releases/download/data/qt-5.13.2-mac.7z --output mac.7z | ||
7z x mac.7z | ||
displayName: 'Setting Qt version to 5.13.2' | ||
#workaround until devops deploy | ||
- script: | | ||
brew uninstall [email protected] | ||
brew uninstall [email protected] | ||
brew untap local/openssl | ||
brew untap local/python2 | ||
brew update | ||
brew unlink [email protected] | ||
brew bundle | ||
displayName: 'Install dependencies with HomeBrew' | ||
- script: | | ||
brew tap mobsya/brewqt https://github.com/mobsya/brewqt | ||
brew extract --version=1.0.2t openssl mobsya/brewqt | ||
brew install mobsya/brewqt/[email protected] | ||
brew info openssl | ||
displayName: 'Setting openssl version to 1.0.0' | ||
- script: | | ||
git submodule update --init --recursive | ||
displayName: 'Clone submodules' | ||
- script: | | ||
sudo xcode-select -s /Applications/Xcode_11.3.1.app/Contents/Developer | ||
(mkdir build && cd build && cmake .. -GNinja -DBoost_DEBUG=OFF -DOPENSSL_LIBRARIES=/usr/local/Cellar/[email protected]/1.0.2t/lib -DOPENSSL_INCLUDE_DIR=/usr/local/Cellar/[email protected]/1.0.2t/include -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_PREFIX_PATH="`pwd`/../Qt/5.13.2/clang_64/" && ninja) | ||
displayName: 'Build with cmake' | ||
- script: | | ||
osx/createbundle.sh $(Build.ArtifactStagingDirectory)/ThymioSuite-$(packet_version)-OsX-15+.dmg build/bin '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)' | ||
displayName: 'Signing and create dmg' | ||
condition: ne(variables['Build.Reason'], 'PullRequest') | ||
- script: | | ||
osx/createbundle.sh $(Build.ArtifactStagingDirectory)/ThymioSuite-$(packet_version)-OsX-15+.dmg build/bin | ||
displayName: 'Create Unsigned DMG' | ||
condition: eq(variables['Build.Reason'], 'PullRequest') | ||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
pathtoPublish: '$(Build.ArtifactStagingDirectory)' | ||
artifactName: 'ThymioSuite.dmg' | ||
|
||
|
||
- job: BuildForIOs | ||
pool: | ||
|
@@ -345,11 +281,7 @@ jobs: | |
#workaround until devops deploy | ||
- script: | | ||
brew uninstall [email protected] | ||
brew uninstall [email protected] | ||
brew untap local/openssl | ||
brew untap local/python2 | ||
brew update | ||
brew unlink [email protected] | ||
brew bundle | ||
displayName: 'Install dependencies with HomeBrew' | ||
|
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