diff options
author | Jason Wray <jason@mapbox.com> | 2018-06-29 19:55:12 -0400 |
---|---|---|
committer | Jason Wray <friedbunny@users.noreply.github.com> | 2018-07-02 14:01:44 -0400 |
commit | 5cc71a3a9b30cf5b6861d03072c0720c54ae6eaf (patch) | |
tree | 0ba4acf17fd5e3ad3da883d382512bb3709a1273 /circle.yml | |
parent | 36c6a8ea79bbd2596abb58ffb58debf65a4ea13d (diff) | |
download | qtlocation-mapboxgl-5cc71a3a9b30cf5b6861d03072c0720c54ae6eaf.tar.gz |
[ios] Add per-commit ios-release CircleCI build
Renames the previous tag-based package-deploy job from `ios-release` to `ios-release-tag`.
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 40 |
1 files changed, 33 insertions, 7 deletions
diff --git a/circle.yml b/circle.yml index a3b81ed0c8..3a661fe9f1 100644 --- a/circle.yml +++ b/circle.yml @@ -44,7 +44,8 @@ workflows: - ios-sanitize - ios-sanitize-address - ios-static-analyzer - - ios-release: + - ios-release + - ios-release-tag: filters: tags: only: /ios-.*/ @@ -152,6 +153,14 @@ step-library: command: make check-public-symbols + - &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 + - &install-macos-dependencies run: name: Install macOS dependencies @@ -878,17 +887,34 @@ jobs: macos: xcode: "9.4.0" environment: + BUILDTYPE: Release + HOMEBREW_NO_AUTO_UPDATE: 1 + steps: + - checkout + - *install-macos-dependencies + - *generate-cache-key + - *restore-cache + - *reset-ccache-stats + - *build-ios-test + - *build-ios-integration-test + - *check-public-symbols + - *show-ccache-stats + - *save-cache + - *collect-xcode-build-logs + - *upload-xcode-build-logs + +# ------------------------------------------------------------------------------ + ios-release-tag: + macos: + xcode: "9.4.0" + environment: + BUILDTYPE: Release 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 + - *install-ios-packaging-dependencies - *generate-cache-key - *restore-cache - *reset-ccache-stats |