SYNERGY-652 Avoid using brew for macOS build (#6882)

* SYNERGY-652 Avoid using brew for macOS build

* Update ChangeLog
This commit is contained in:
SerhiiGadzhilov 2020-12-18 10:59:20 +03:00 committed by GitHub
parent 31fcab2ca1
commit 78582d12d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 10 deletions

View File

@ -6,22 +6,23 @@ steps:
keychain: 'temp'
condition: eq(variables['Build.Reason'], 'Manual')
- task: CmdLine@2
inputs:
script: |
python3 -m pip install dmgbuild
python3 -m pip install aqtinstall
displayName: 'Installing utilities'
- task: CmdLine@2
inputs:
script: |
export HOMEBREW_NO_INSTALL_CLEANUP=1
brew install qt
python3 -m aqt install $(QT_VERSION) mac desktop -O $(QT_PATH)
displayName: 'Installing QT'
- task: CmdLine@2
inputs:
script: 'python3 -m pip install dmgbuild'
displayName: 'Installing dmgbuild'
- task: CmdLine@2
inputs:
script: |
export PATH="$(QT_PATH):$PATH"
export PATH="$(Qt5_DIR)/bin:$PATH"
mkdir build
cd build
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=$(version) -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release ..
@ -33,7 +34,7 @@ steps:
- task: CmdLine@2
inputs:
script: |
export PATH="$(QT_PATH):$PATH"
export PATH="$(Qt5_DIR)/bin:$PATH"
export SYNERGY_ENTERPRISE=1
mkdir build
cd build

View File

@ -6,6 +6,7 @@ Bug fixes:
- #6874 The logo on Windows taskbar is incorrect.
- #6879 Update macOS installer drive icons
- #6878 Update googletest library to latest version
- #6882 Build macOS using qt 5.15.2 and avoid using brew for build
Enhancements:
- #6867 Create only 1 artefact for macOS

View File

@ -85,7 +85,9 @@ jobs:
condition: eq(variables['Build.Reason'], 'Manual')
variables:
QT_PATH: '/usr/local/opt/qt/bin'
QT_VERSION: '5.15.2'
QT_PATH: '/usr/local/opt/qt'
Qt5_DIR: '$(QT_PATH)/$(QT_VERSION)/clang_64'
steps:
- template: CI/checkout.yml