summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-10-24 18:06:45 -0400
committerJason Wray <jason@mapbox.com>2017-10-24 18:35:33 -0400
commitcb8f7f44932540fbd751df9dad941baf2858825e (patch)
treee661326c9c2528c712718937a5b866ab3ed9f0c3
parent05267daca6bb1363d34d0c79f304de36e4c520d4 (diff)
downloadqtlocation-mapboxgl-upstream/fb-circleci-agua-make.tar.gz
[macos, build] Add CircleCI macOS buildsupstream/fb-circleci-agua-make
-rw-r--r--circle.yml34
1 files changed, 30 insertions, 4 deletions
diff --git a/circle.yml b/circle.yml
index 88ba60e533..ed68d2b725 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: |
@@ -619,7 +624,7 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
- - *install-ios-dependencies
+ - *install-macos-dependencies
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
@@ -636,7 +641,7 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
- - *install-ios-dependencies
+ - *install-macos-dependencies
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
@@ -654,7 +659,7 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
- - *install-ios-dependencies
+ - *install-macos-dependencies
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
@@ -663,3 +668,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