Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update xcode to 13.1.0 for circle ci #53

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
XCODE_TEST_REPORTS: /tmp/xcode-test-results
LANG: en_US.UTF-8
macos:
xcode: '11.4.1'
xcode: '13.1.0'
steps:
- checkout
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS $XCODE_TEST_REPORTS
Expand All @@ -20,25 +20,27 @@ jobs:
- v1-dep-
- run:
name: Bootstrap Carthage
command: carthage update --no-use-binaries
command: |
brew update
brew upgrade carthage
carthage update --use-xcframeworks
- save_cache:
key: v1-dep-{{ .Branch }}-{{ epoch }}
paths:
- Carthage
- run:
name: Build (Swift 5.0)
command: >
set -o pipefail && xcodebuild build SWIFT_VERSION=5.2.2
-workspace RxWebKit.xcworkspace
-scheme 'RxWebKit' -sdk iphonesimulator
-destination "name=iPhone 11" | xcpretty -c
name: Build macOS (Swift 5.0)
command: set -o pipefail && xcodebuild build SWIFT_VERSION=5.5.1 -workspace RxWebKit.xcworkspace -scheme RxWebKit -sdk macosx -destination "arch=x86_64" | xcpretty -c
- run:
name: Build iOS (Swift 5.0)
command: set -o pipefail && xcodebuild build SWIFT_VERSION=5.5.1 -workspace RxWebKit.xcworkspace -scheme RxWebKit -sdk iphonesimulator -destination "name=iPhone 12" | xcpretty -c

- run:
name: Build tvOS (Swift 5.0)
command: set -o pipefail && xcodebuild build SWIFT_VERSION=5.5.1 -workspace RxWebKit.xcworkspace -scheme RxWebKit -sdk appletvsimulator -destination "name=Apple TV 4K (at 1080p)" | xcpretty -c
- run:
name: Run Tests (Swift 5.0)
command: >
set -o pipefail && xcodebuild test SWIFT_VERSION=5.2.2
-workspace RxWebKit.xcworkspace
-scheme 'RxWebKitTests-iOS' -sdk iphonesimulator
-destination "name=iPhone 11" | xcpretty -c --test
command: set -o pipefail && xcodebuild test SWIFT_VERSION=5.5.1 -workspace RxWebKit.xcworkspace -scheme 'RxWebKitTests-iOS' -sdk iphonesimulator -destination "name=iPhone 12" | xcpretty -c --test
- store_artifacts:
path: /tmp/xcode-test-results
workflows:
Expand All @@ -49,3 +51,4 @@ workflows:
filters:
tags:
ignore: /[0-9]+(\.[0-9]+)*/