Skip to content

Commit e4c3026

Browse files
committed
Update CI configuration for XCode 12
1 parent 648ae1f commit e4c3026

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.circleci/config.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,42 @@ version: 2.1
33
orbs:
44
# Using 1.0 of our Orbs means it will use the latest 1.0.x version from https://github.com/wordpress-mobile/circleci-orbs
55
ios: wordpress-mobile/ios@1.0
6+
git: wordpress-mobile/git@1.0
7+
8+
xcode_version: &xcode_version
9+
xcode-version: "12.1.0"
10+
11+
iphone_test_device: &iphone_test_device
12+
device: iPhone 11
13+
ios-version: "14.1"
614

715
workflows:
816
test_and_validate:
917
jobs:
10-
- ios/test:
11-
name: Carthage Update
12-
xcode-version: "12.1.0"
13-
workspace: Aztec.xcworkspace
14-
scheme: CarthageBuild
15-
device: iPhone 11
16-
1718
- ios/test:
1819
name: Test
19-
xcode-version: "12.1.0"
20+
<<: *xcode_version
2021
bundle-install: false
2122
pod-install: false
2223
workspace: Aztec.xcworkspace
2324
scheme: AztecExample
24-
device: iPhone 11
25-
ios-version: "14.0"
25+
<<: *iphone_test_device
2626

2727
- ios/validate-podspec:
2828
name: Validate WordPress-Aztec-iOS.podspec
29-
xcode-version: "12.1.0"
29+
<<: *xcode_version
3030
podspec-path: WordPress-Aztec-iOS.podspec
3131

3232
- ios/validate-podspec:
3333
name: Validate WordPress-Editor-iOS.podspec
34-
xcode-version: "12.1.0"
34+
<<: *xcode_version
3535
podspec-path: WordPress-Editor-iOS.podspec
3636
# Reference WordPress-Aztec-iOS.podspec locally so we don't have to get it from the specs repo
3737
additional-parameters: --include-podspecs=WordPress-Aztec-iOS.podspec
3838

3939
- ios/publish-podspec:
4040
name: Publish WordPress-Aztec-iOS to Trunk
41-
xcode-version: "12.1.0"
41+
<<: *xcode_version
4242
podspec-path: WordPress-Aztec-iOS.podspec
4343
post-to-slack: true
4444
filters:
@@ -50,7 +50,7 @@ workflows:
5050
- ios/publish-podspec:
5151
name: Publish WordPress-Editor-iOS to Trunk
5252
requires: [ "Publish WordPress-Aztec-iOS to Trunk" ]
53-
xcode-version: "12.1.0"
53+
<<: *xcode_version
5454
podspec-path: WordPress-Editor-iOS.podspec
5555
post-to-slack: true
5656
filters:

0 commit comments

Comments
 (0)