summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-12-18 17:02:09 -0800
committerJason Wray <jason@mapbox.com>2018-03-26 16:26:29 -0400
commite018b01c428464a173e6440cdbbaf5baf6a16943 (patch)
treed52a68e7302f79969ba4de9c5efe0360c5a10b9f /circle.yml
parent4b8c27edef8c87c00ef6e5be556f8a803723a5c0 (diff)
downloadqtlocation-mapboxgl-e018b01c428464a173e6440cdbbaf5baf6a16943.tar.gz
[ios, build] Run static analyzer on CircleCI
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
index 3b85eaaf31..90cf825586 100644
--- a/circle.yml
+++ b/circle.yml
@@ -34,6 +34,7 @@ workflows:
- ios-debug
- ios-sanitize
#- ios-sanitize-address
+ - ios-static-analyzer
- ios-release:
filters:
tags:
@@ -770,6 +771,25 @@ jobs:
- *save-cache
# ------------------------------------------------------------------------------
+ ios-static-analyzer:
+ macos:
+ xcode: "9.2.0"
+ environment:
+ BUILDTYPE: Debug
+ HOMEBREW_NO_AUTO_UPDATE: 1
+ steps:
+ - checkout
+ - *install-macos-dependencies
+ - *generate-cache-key
+ - *restore-cache
+ - *reset-ccache-stats
+ - run:
+ name: Build and run SDK unit tests with the static analyzer
+ command: make ios-static-analyzer
+ - *show-ccache-stats
+ - *save-cache
+
+# ------------------------------------------------------------------------------
ios-release:
macos:
xcode: "9.2.0"