Skip to content

Commit

Permalink
[ios, build] Move iOS release builds to CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
friedbunny committed Mar 14, 2018
1 parent 4acd671 commit 6718887
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 99 deletions.
34 changes: 34 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ workflows:
- ios-debug
#- ios-sanitize-address
- ios-sanitize-thread
- ios-release:
filters:
tags:
only: /ios-.*/
branches:
ignore: /.*/
- macos-debug
- macos-debug-qt5
- macos-release-node4:
Expand Down Expand Up @@ -763,6 +769,34 @@ jobs:
- *show-ccache-stats
- *save-cache

# ------------------------------------------------------------------------------
ios-release:
macos:
xcode: "9.2.0"
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
shell: /bin/bash --login -eo pipefail
steps:
- checkout
- *install-macos-dependencies
- run:
name: Install packaging dependencies
command: |
echo "ruby-2.3" > ~/.ruby-version
sudo gem install jazzy --no-document
brew install awscli wget
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
- run:
name: Build, package, and upload iOS release
command: |
export VERSION_TAG=${CIRCLE_TAG}
export GITHUB_TOKEN=${DANGER_GITHUB_API_TOKEN}
platform/ios/scripts/deploy-packages.sh
- *show-ccache-stats
- *save-cache

# ------------------------------------------------------------------------------
macos-debug:
macos:
Expand Down
98 changes: 0 additions & 98 deletions platform/ios/bitrise.yml

This file was deleted.

2 changes: 1 addition & 1 deletion platform/ios/scripts/document.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -u

if [ -z `which jazzy` ]; then
echo "Installing jazzy…"
gem install jazzy --no-rdoc --no-ri
gem install jazzy --no-document
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
Expand Down

0 comments on commit 6718887

Please sign in to comment.