Skip to content
Closed
Show file tree
Hide file tree
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
28 changes: 14 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,42 @@ version: 2.1
orbs:
# Using 1.0 of our Orbs means it will use the latest 1.0.x version from https://github.com/wordpress-mobile/circleci-orbs
ios: wordpress-mobile/ios@1.0
git: wordpress-mobile/git@1.0

xcode_version: &xcode_version
xcode-version: "12.1.0"

iphone_test_device: &iphone_test_device
device: iPhone 11
ios-version: "14.1"

workflows:
test_and_validate:
jobs:
- ios/test:
name: Carthage Update
xcode-version: "12.1.0"
workspace: Aztec.xcworkspace
scheme: CarthageBuild
device: iPhone 11

- ios/test:
name: Test
xcode-version: "12.1.0"
<<: *xcode_version
bundle-install: false
pod-install: false
workspace: Aztec.xcworkspace
scheme: AztecExample
device: iPhone 11
ios-version: "14.0"
<<: *iphone_test_device

- ios/validate-podspec:
name: Validate WordPress-Aztec-iOS.podspec
xcode-version: "12.1.0"
<<: *xcode_version
podspec-path: WordPress-Aztec-iOS.podspec

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

- ios/publish-podspec:
name: Publish WordPress-Aztec-iOS to Trunk
xcode-version: "12.1.0"
<<: *xcode_version
podspec-path: WordPress-Aztec-iOS.podspec
post-to-slack: true
filters:
Expand All @@ -50,7 +50,7 @@ workflows:
- ios/publish-podspec:
name: Publish WordPress-Editor-iOS to Trunk
requires: [ "Publish WordPress-Aztec-iOS to Trunk" ]
xcode-version: "12.1.0"
<<: *xcode_version
podspec-path: WordPress-Editor-iOS.podspec
post-to-slack: true
filters:
Expand Down
2 changes: 1 addition & 1 deletion Scripts/carthage_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ cd "${PROJECT_DIR}/Example"
if [ -d "Carthage/Build/iOS" ]; then
echo "Carthage: found dependencies!"
else
carthage update
./carthage.sh update --platform iOS
fi