avoiding Hombrew auto cleanup

This commit is contained in:
Ignacio Rodriguez 2020-12-08 12:08:44 +07:00
parent 20cfbe6da6
commit b8ff0a88e6

View file

@ -6,50 +6,11 @@ steps:
keychain: 'temp'
condition: eq(variables['Build.Reason'], 'Manual')
# - task: CmdLine@2
# inputs:
# script: 'brew uninstall openssl'
# displayName: 'Uninstalling bogous tap'
# - task: CmdLine@2
# inputs:
# script: 'brew cleanup'
# displayName: 'Cleaning Up Homebrew'
# /usr/local/Cellar/openssl
- task: CmdLine@2
inputs:
script: 'mkdir -p /usr/local/Cellar/openssl'
displayName: 'Creating placebo directory'
- task: CmdLine@2
inputs:
script: 'brew update'
displayName: 'Updating Homebrew'
- task: CmdLine@2
inputs:
script: 'brew upgrade'
displayName: 'Upgrading Homebrew'
# - task: CmdLine@2
# inputs:
# script: 'brew install openssl'
# displayName: 'Installing OpenSSL'
# - task: CmdLine@2
# inputs:
# script: 'brew link openssl --force'
# displayName: 'creating Links for OpenSSL'
# - task: CmdLine@2
# inputs:
# script: 'ln -s /usr/local/opt/openssl/include/openssl /usr/local/include/.'
# displayName: 'Manual Link'
- task: CmdLine@2
inputs:
script: 'brew install qt'
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
displayName: 'Installing QT'
- task: CmdLine@2