1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-02 09:55:55 +00:00

Reduce macOS CI build time

The `homebrew: update: true` directive updates the whole macOS env which
is unnecessary and increases build time excessively. This commit reverts
back to the old way.
Also the pre-installed cmake & pkg-config version is sufficient so no need
to outdate them.
This commit is contained in:
Chocobo1 2019-04-09 15:38:46 +08:00
parent 460b73ebda
commit 73b4fb09dc
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -67,15 +67,6 @@ addons:
- zlib1g-dev
# required for Qt 5.9 from 'beineri' PPA
- libgl1-mesa-dev
homebrew:
update: true
packages:
- [ccache, colormake]
- boost
- libtorrent-rasterbar
- openssl
- qt
- zlib
before_install:
# only allow specific build for coverity scan, others will stop
@ -125,8 +116,8 @@ install:
# dependencies
PATH="/usr/local/opt/ccache/libexec:$PATH"
brew outdated cmake || brew upgrade cmake
brew outdated pkg-config || brew upgrade pkg-config
brew update > /dev/null
brew install ccache colormake boost libtorrent-rasterbar openssl qt zlib
brew link --force qt zlib
if [ "$build_system" = "cmake" ]; then