Skip to content

Commit

Permalink
Added macOS, tvOS, watchOS to CircleCI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Mar 20, 2019
1 parent 1af34cb commit 9725f72
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,31 @@ step-library:
run:
name: Install Dependencies
command: |
carthage bootstrap --platform ios
carthage bootstrap
- &ios-build-test
run:
name: Build and Test
name: Build and Test for iOS
command: |
xcodebuild -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=12.1,name=iPhone X' -project MapboxSpeech.xcodeproj -scheme "MapboxSpeech iOS" clean build test
- &macos-build-test
run:
name: Build and Test for macOS
command: |
xcodebuild -project MapboxSpeech.xcodeproj -scheme "MapboxSpeech Mac" clean build test
- &tvos-build-test
run:
name: Build and Test for tvOS
command: |
xcodebuild -destination 'platform=tvOS Simulator,OS=12.1,name=Apple TV 4K (at 1080p)' -project MapboxSpeech.xcodeproj -scheme "MapboxSpeech tvOS" clean build test
- &watchos-build
run:
name: Build for watchOS
command: |
xcodebuild -destination 'platform=watchOS Simulator,OS=5.1,name=Apple Watch Series 3 - 42mm' -project MapboxSpeech.xcodeproj -scheme "MapboxSpeech watchOS" clean build
jobs:
ios-build-test:
Expand All @@ -36,3 +54,6 @@ jobs:
- *prepare
- *install-dependencies
- *ios-build-test
- *macos-build-test
- *tvos-build-test
- *watchos-build

0 comments on commit 9725f72

Please sign in to comment.