diff --git a/.circleci/config.yml b/.circleci/config.yml index 3bd6988..ddbfbaf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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: @@ -49,3 +51,4 @@ workflows: filters: tags: ignore: /[0-9]+(\.[0-9]+)*/ + \ No newline at end of file