SYNERGY-652 Avoid using brew for macOS build (#6882)
* SYNERGY-652 Avoid using brew for macOS build * Update ChangeLog
This commit is contained in:
parent
31fcab2ca1
commit
78582d12d3
3 changed files with 14 additions and 10 deletions
|
|
@ -9,19 +9,20 @@ steps:
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
inputs:
|
inputs:
|
||||||
script: |
|
script: |
|
||||||
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
python3 -m pip install dmgbuild
|
||||||
brew install qt
|
python3 -m pip install aqtinstall
|
||||||
displayName: 'Installing QT'
|
displayName: 'Installing utilities'
|
||||||
|
|
||||||
- task: CmdLine@2
|
|
||||||
inputs:
|
|
||||||
script: 'python3 -m pip install dmgbuild'
|
|
||||||
displayName: 'Installing dmgbuild'
|
|
||||||
|
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
inputs:
|
inputs:
|
||||||
script: |
|
script: |
|
||||||
export PATH="$(QT_PATH):$PATH"
|
python3 -m aqt install $(QT_VERSION) mac desktop -O $(QT_PATH)
|
||||||
|
displayName: 'Installing QT'
|
||||||
|
|
||||||
|
- task: CmdLine@2
|
||||||
|
inputs:
|
||||||
|
script: |
|
||||||
|
export PATH="$(Qt5_DIR)/bin:$PATH"
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=$(version) -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release ..
|
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
|
- task: CmdLine@2
|
||||||
inputs:
|
inputs:
|
||||||
script: |
|
script: |
|
||||||
export PATH="$(QT_PATH):$PATH"
|
export PATH="$(Qt5_DIR)/bin:$PATH"
|
||||||
export SYNERGY_ENTERPRISE=1
|
export SYNERGY_ENTERPRISE=1
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ Bug fixes:
|
||||||
- #6874 The logo on Windows taskbar is incorrect.
|
- #6874 The logo on Windows taskbar is incorrect.
|
||||||
- #6879 Update macOS installer drive icons
|
- #6879 Update macOS installer drive icons
|
||||||
- #6878 Update googletest library to latest version
|
- #6878 Update googletest library to latest version
|
||||||
|
- #6882 Build macOS using qt 5.15.2 and avoid using brew for build
|
||||||
|
|
||||||
Enhancements:
|
Enhancements:
|
||||||
- #6867 Create only 1 artefact for macOS
|
- #6867 Create only 1 artefact for macOS
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,9 @@ jobs:
|
||||||
condition: eq(variables['Build.Reason'], 'Manual')
|
condition: eq(variables['Build.Reason'], 'Manual')
|
||||||
|
|
||||||
variables:
|
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:
|
steps:
|
||||||
- template: CI/checkout.yml
|
- template: CI/checkout.yml
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue