summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-10-24 18:06:45 -0400
committerJason Wray <jason@mapbox.com>2017-10-25 12:48:25 -0400
commit018bc7c9f9d905c6ae3e8309286c481804b88687 (patch)
tree4a878fc92e7495de714b9befa236e8f3268566b1 /circle.yml
parent8bc7e4957d85816f3e013e6e07a91a48929080f3 (diff)
downloadqtlocation-mapboxgl-018bc7c9f9d905c6ae3e8309286c481804b88687.tar.gz
[macos, build] Add CircleCI macOS builds
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml34
1 files changed, 30 insertions, 4 deletions
diff --git a/circle.yml b/circle.yml
index 785ffd10d8..e651323428 100644
--- a/circle.yml
+++ b/circle.yml
@@ -33,6 +33,7 @@ workflows:
- ios-debug
#- ios-sanitize-address
- ios-sanitize-thread
+ - macos-debug
step-library:
- &generate-cache-key
@@ -104,6 +105,10 @@ step-library:
run:
name: Build ios-test
command: make ios-test
+ - &build-macos-test
+ run:
+ name: Build and run macOS tests
+ command: make run-test
- &check-public-symbols
@@ -112,7 +117,7 @@ step-library:
command: make check-public-symbols
- - &install-ios-dependencies
+ - &install-macos-dependencies
run:
name: Install dependencies
command: |
@@ -620,7 +625,7 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
- - *install-ios-dependencies
+ - *install-macos-dependencies
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
@@ -638,7 +643,7 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
- - *install-ios-dependencies
+ - *install-macos-dependencies
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
@@ -657,7 +662,7 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
- - *install-ios-dependencies
+ - *install-macos-dependencies
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
@@ -666,3 +671,24 @@ jobs:
command: make ios-sanitize-thread
- *show-ccache-stats
- *save-cache
+
+# ------------------------------------------------------------------------------
+ macos-debug:
+ macos:
+ xcode: "9.0"
+ environment:
+ BUILDTYPE: Debug
+ HOMEBREW_NO_AUTO_UPDATE: 1
+ steps:
+ - checkout
+ - *install-macos-dependencies
+ - *generate-cache-key
+ - *restore-cache
+ - *reset-ccache-stats
+ - *build-macos-test
+ - *check-public-symbols
+ - *show-ccache-stats
+ - *save-cache
+ - store_artifacts:
+ path: test/fixtures
+ destination: test/fixtures