[ios, build] Postpone jazzy install for ios-release build
This commit is contained in:
@@ -892,10 +892,6 @@ jobs:
|
||||
steps:
|
||||
- checkout
|
||||
- *install-macos-dependencies
|
||||
- run:
|
||||
name: Install jazzy
|
||||
command: sudo gem install jazzy --no-document
|
||||
background: true
|
||||
- *generate-cache-key
|
||||
- *restore-cache
|
||||
- *reset-ccache-stats
|
||||
|
||||
@@ -6,7 +6,14 @@ set -u
|
||||
|
||||
if [ -z `which jazzy` ]; then
|
||||
echo "Installing jazzy…"
|
||||
gem install jazzy --no-document
|
||||
|
||||
CIRCLECI=${CIRCLECI:-false}
|
||||
if [[ "${CIRCLECI}" == true ]]; then
|
||||
sudo gem install jazzy --no-document
|
||||
else
|
||||
gem install jazzy --no-document
|
||||
fi
|
||||
|
||||
if [ -z `which jazzy` ]; then
|
||||
echo "Unable to install jazzy. See https://github.com/mapbox/mapbox-gl-native/blob/master/platform/ios/INSTALL.md"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user