3939 - checkout
4040 - restore_cache :
4141 key : *dependencies-cache-key
42+ # Some different versions are installed on the Xcode 10 server, so we need to re-install ruby gems.
43+ - run :
44+ name : Install Ruby dependencies
45+ command : bundle check || bundle install --jobs 4 --retry 3
46+ - run :
47+ name : Install Cocoapods dependencies
48+ command : |
49+ bundle exec pod install
50+ diff ./Podfile.lock ./Pods/Manifest.lock > /dev/null || pod_install
4251 - run : bundle exec fastlane lint
4352 test-xcode10 :
4453 macos :
7483 key : *dependencies-cache-key
7584 - run : instruments -s devices
7685 - run : xcodebuild -sdk -version
86+ # Some different versions are installed on the Xcode server, so we need to re-install ruby gems.
87+ - run :
88+ name : Install Ruby dependencies
89+ command : bundle check || bundle install --jobs 4 --retry 3
7790 - run : bundle exec fastlane test_carthage
7891 - run : FASTLANE_EXPLICIT_OPEN_SIMULATOR=2 bundle exec fastlane test_xcode11 --verbose
92+ test-xcode12 :
93+ macos :
94+ xcode : " 12.4.0"
95+ environment :
96+ LC_ALL : en_US.UTF-8
97+ LANG : en_US.UTF-8
98+ BUNDLE_PATH : vendor/bundle
99+ shell : /bin/bash --login -eo pipefail
100+ steps :
101+ - checkout
102+ - restore_cache :
103+ key : *dependencies-cache-key
104+ - run : instruments -s devices
105+ - run : xcodebuild -sdk -version
106+ # Some different versions are installed on the Xcode server, so we need to re-install ruby gems.
107+ - run :
108+ name : Install Ruby dependencies
109+ command : bundle check || bundle install --jobs 4 --retry 3
110+ - run : FASTLANE_EXPLICIT_OPEN_SIMULATOR=2 bundle exec fastlane test_xcode12 --verbose
79111workflows :
80112 version : 2
81113 build-and-deploy :
@@ -90,4 +122,6 @@ workflows:
90122 - test-xcode11 :
91123 requires :
92124 - dependencies
93-
125+ - test-xcode12 :
126+ requires :
127+ - dependencies
0 commit comments