summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml48
1 files changed, 11 insertions, 37 deletions
diff --git a/circle.yml b/circle.yml
index e6b4b4b59a..88ba60e533 100644
--- a/circle.yml
+++ b/circle.yml
@@ -100,14 +100,16 @@ step-library:
run:
name: Build qt-test
command: make qt-test
- - &build-iproj
- run:
- name: Build iproj
- command: make iproj
- &build-ios-test
run:
- name: Build core and iOS SDK for testing
- command: fastlane scan --build_for_testing --buildlog_path "test_output/build"
+ name: Build ios-test
+ command: make ios-test
+
+
+ - &check-public-symbols
+ run:
+ name: Check public symbols
+ command: make check-public-symbols
- &install-ios-dependencies
@@ -116,7 +118,6 @@ step-library:
command: |
brew install cmake
brew install ccache
- sudo gem install fastlane --no-document
- &run-node-tests
@@ -154,10 +155,6 @@ step-library:
store_artifacts:
path: mapbox-gl-js/test/integration/render-tests/index-recycle-map.html
destination: render-tests
- - &upload-ios-artifacts
- store_artifacts:
- path: test_output
- destination: test_output
jobs:
# ------------------------------------------------------------------------------
@@ -619,10 +616,6 @@ jobs:
macos:
xcode: "9.0"
environment:
- SCAN_WORKSPACE: platform/ios/ios.xcworkspace
- SCAN_SCHEME: CI
- SCAN_CONFIGURATION: Debug
- SCAN_DEVICE: iPhone 7
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
@@ -630,15 +623,8 @@ jobs:
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
- - *build-iproj
- *build-ios-test
- - run:
- name: List available simulators
- command: xcrun simctl list
- - run:
- name: Run SDK unit tests
- command: fastlane scan --test_without_building --buildlog_path "test_output/tests"
- - *upload-ios-artifacts
+ - *check-public-symbols
- *show-ccache-stats
- *save-cache
@@ -647,10 +633,6 @@ jobs:
macos:
xcode: "9.0"
environment:
- SCAN_WORKSPACE: platform/ios/ios.xcworkspace
- SCAN_SCHEME: CI
- SCAN_CONFIGURATION: Debug
- SCAN_DEVICE: iPhone 7
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
@@ -658,11 +640,9 @@ jobs:
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
- - *build-iproj
- run:
name: Build and run SDK unit tests with address sanitizer
- command: fastlane scan --address_sanitizer --buildlog_path "test_output/tests"
- - *upload-ios-artifacts
+ command: make ios-sanitize-address
- *show-ccache-stats
- *save-cache
@@ -671,10 +651,6 @@ jobs:
macos:
xcode: "9.0"
environment:
- SCAN_WORKSPACE: platform/ios/ios.xcworkspace
- SCAN_SCHEME: CI
- SCAN_CONFIGURATION: Debug
- SCAN_DEVICE: iPhone 7
HOMEBREW_NO_AUTO_UPDATE: 1
steps:
- checkout
@@ -682,10 +658,8 @@ jobs:
- *generate-cache-key
- *restore-cache
- *reset-ccache-stats
- - *build-iproj
- run:
name: Build and run SDK unit tests with thread sanitizer
- command: fastlane scan --thread_sanitizer --buildlog_path "test_output/tests"
- - *upload-ios-artifacts
+ command: make ios-sanitize-thread
- *show-ccache-stats
- *save-cache