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-14 15:46:52 -0400
commit6718887f0bde0828d3f145d574a3a2d91d821acf (patch)
treecceef18a9ddfc374d26447a3a19b151962af2e03 /circle.yml
parent4acd671a65d699903563e5313bf879392f754fd2 (diff)
downloadqtlocation-mapboxgl-6718887f0bde0828d3f145d574a3a2d91d821acf.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 e221687845..3f67f8f6e6 100644
--- a/circle.yml
+++ b/circle.yml
@@ -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:
@@ -764,6 +770,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"