summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <friedbunny@users.noreply.github.com>2018-07-10 13:20:08 -0400
committerGitHub <noreply@github.com>2018-07-10 13:20:08 -0400
commit124faee638f82a7e30dbb9584bbfb65cf48be871 (patch)
tree6ab7c2058a93ef41cb097bdb887ee23bf16fcbc3
parenta93dca349d4768e0a6a763332e636e389e2b9f2d (diff)
downloadqtlocation-mapboxgl-124faee638f82a7e30dbb9584bbfb65cf48be871.tar.gz
[ios, build] Upload nightly iOS release build on CircleCI
-rw-r--r--circle.yml32
1 files changed, 24 insertions, 8 deletions
diff --git a/circle.yml b/circle.yml
index acf60f3acc..7ee668807b 100644
--- a/circle.yml
+++ b/circle.yml
@@ -47,6 +47,16 @@ workflows:
- qt4-linux-gcc5-release
- qt5-linux-gcc5-release
- qt5-macos-debug
+ nightly:
+ triggers:
+ - schedule:
+ cron: "0 0 * * *"
+ filters:
+ branches:
+ only:
+ - master
+ jobs:
+ - ios-release
step-library:
- &generate-cache-key
@@ -146,10 +156,8 @@ step-library:
- &install-ios-packaging-dependencies
run:
name: Install iOS packaging dependencies
- command: |
- echo "ruby-2.3" > ~/.ruby-version
- sudo gem install jazzy --no-document
- brew install awscli wget
+ command: brew install awscli wget
+ background: true
- &install-macos-dependencies
run:
@@ -759,19 +767,26 @@ jobs:
steps:
- checkout
- *install-macos-dependencies
+ - *install-ios-packaging-dependencies
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
- run:
name: Build dynamic framework for device and simulator
command: make iframework
+ - deploy:
+ name: Upload nightly build to s3
+ command: |
+ if [[ -z $CIRCLE_COMPARE_URL && $CIRCLE_BRANCH == master ]]; then
+ platform/ios/scripts/deploy-nightly.sh
+ fi
+ - run:
+ name: Record size
+ command: platform/ios/scripts/metrics.sh
- *show-ccache-stats
- *save-cache
- *collect-xcode-build-logs
- *upload-xcode-build-logs
- - run:
- name: Record size
- command: platform/ios/scripts/metrics.sh
# ------------------------------------------------------------------------------
ios-release-tag:
@@ -780,7 +795,6 @@ jobs:
environment:
BUILDTYPE: Release
HOMEBREW_NO_AUTO_UPDATE: 1
- shell: /bin/bash --login -eo pipefail
steps:
- checkout
- *install-macos-dependencies
@@ -796,6 +810,8 @@ jobs:
platform/ios/scripts/deploy-packages.sh
- *show-ccache-stats
- *save-cache
+ - *collect-xcode-build-logs
+ - *upload-xcode-build-logs
# ------------------------------------------------------------------------------
macos-debug: