mirror of
https://github.com/deskflow/deskflow.git
synced 2026-06-25 21:12:01 +08:00
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
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user