summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-04-09 19:26:35 -0400
committerJason Wray <jason@mapbox.com>2018-04-10 20:19:45 -0400
commit33d3c27ab039e77f7d5691b1040b8b2af9615ec4 (patch)
treed77b571e900b08197f9e28c2842033795486e213 /circle.yml
parent6a2e69b7b1ecd3bbccd9a16faf00e65dca4a8839 (diff)
downloadqtlocation-mapboxgl-33d3c27ab039e77f7d5691b1040b8b2af9615ec4.tar.gz
[build, qt] Work around for chown'ing /usr/local
macOS 10.13 no longer allows wholesale chown'ing of /usr/local (and this approach also works in 10.12).
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/circle.yml b/circle.yml
index 0419d305c1..5f06791cd6 100644
--- a/circle.yml
+++ b/circle.yml
@@ -151,8 +151,7 @@ step-library:
run:
name: Install macOS dependencies
command: |
- brew install cmake
- brew install ccache
+ brew install cmake ccache
- &install-macos-node4-dependencies
run:
@@ -172,14 +171,12 @@ step-library:
run:
name: Install macOS Qt dependencies
command: |
- sudo chown -R $USER /usr/local
brew install qt
brew link qt --force
- brew linkapps qt
export HOMEBREW_QT5_CELLAR=$(brew --cellar qt)
export HOMEBREW_QT5_VERSION=$(brew list --versions qt | rev | cut -d' ' -f1 | rev)
- ln -s $HOMEBREW_QT5_CELLAR/$HOMEBREW_QT5_VERSION/mkspecs /usr/local/mkspecs
- ln -s $HOMEBREW_QT5_CELLAR/$HOMEBREW_QT5_VERSION/plugins /usr/local/plugins
+ sudo ln -s $HOMEBREW_QT5_CELLAR/$HOMEBREW_QT5_VERSION/mkspecs /usr/local/mkspecs
+ sudo ln -s $HOMEBREW_QT5_CELLAR/$HOMEBREW_QT5_VERSION/plugins /usr/local/plugins
- &run-node-macos-tests
run: