summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-03-12 13:57:22 -0400
committerJason Wray <jason@mapbox.com>2018-03-12 17:56:06 -0400
commit1b3d8f990f0ac524ad7142e31433717b1f8be81c (patch)
tree9a12234897af89aeec2fc68ce892b740da4c5e8c /circle.yml
parentec91b83ea4543c7a0cf0056d48f2d7f52179e1e1 (diff)
downloadqtlocation-mapboxgl-1b3d8f990f0ac524ad7142e31433717b1f8be81c.tar.gz
[ios, build] Move iOS release builds to CircleCI
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
index fac2d2158c..f2e82d2a7b 100644
--- a/circle.yml
+++ b/circle.yml
@@ -33,6 +33,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:
@@ -708,6 +714,34 @@ jobs:
- *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:
xcode: "9.2.0"