@@ -82,41 +82,41 @@ jobs:
8282 key : v1-gem-cache-<<parameters.xcode-version>>-
8383
8484 # Newer cocoapods fixes Swift library auto-linking errors
85- # - run:
86- # name: Update CocoaPods
87- # command: |
88- # sudo gem install cocoapods
89- # sudo gem cleanup
90- # # Used as cache key to prevent storing redundant caches
91- # gem list > /tmp/cache-key.txt
92- #
93- # - save_cache:
94- # name: Save gem cache
95- # key: v1-gem-cache-<<parameters.xcode-version>>-{{ checksum "/tmp/cache-key.txt" }}
96- # paths:
97- # - ~/.gem
98- #
99- # - run:
100- # name: Install iOS Pods
101- # command: cd ../test/CITest/ios && pod install
102- #
103- # - run:
104- # name: Build application for iOS (Release)
105- # command: |
106- # mkdir -p artifacts
107- # cd ../test/CITest/ios
108- # xcodebuild -workspace CITest.xcworkspace -scheme CITest build -configuration Release -destination "generic/platform=iOS" CODE_SIGNING_ALLOWED=NO GCC_WARN_INHIBIT_ALL_WARNINGS=YES | tee '../../../project/artifacts/xcb-<<parameters.rn-version>>.txt' | xcpretty
85+ - run :
86+ name : Update CocoaPods
87+ command : |
88+ sudo gem install cocoapods
89+ sudo gem cleanup
90+ # Used as cache key to prevent storing redundant caches
91+ gem list > /tmp/cache-key.txt
92+
93+ - save_cache :
94+ name : Save gem cache
95+ key : v1-gem-cache-<<parameters.xcode-version>>-{{ checksum "/tmp/cache-key.txt" }}
96+ paths :
97+ - ~/.gem
98+
99+ - run :
100+ name : Install iOS Pods
101+ command : cd ../test/CITest/ios && pod install
102+
103+ - run :
104+ name : Build application for iOS (Release)
105+ command : |
106+ mkdir -p artifacts
107+ cd ../test/CITest/ios
108+ xcodebuild -workspace CITest.xcworkspace -scheme CITest build -configuration Release -destination "generic/platform=iOS" CODE_SIGNING_ALLOWED=NO GCC_WARN_INHIBIT_ALL_WARNINGS=YES | tee '../../../project/artifacts/xcb-<<parameters.rn-version>>.txt' | xcpretty
109109
110110 - when :
111111 # We only care to build Android application and debug iOS Build for a single XCode version
112112 condition :
113113 equal : [ 13.2.1, << parameters.xcode-version >> ]
114114 steps :
115- # - run:
116- # name: Build application for iOS (Debug)
117- # command: |
118- # cd ../test/CITest/ios
119- # xcodebuild -workspace CITest.xcworkspace -scheme CITest build -configuration Debug -destination "generic/platform=iOS" CODE_SIGNING_ALLOWED=NO GCC_WARN_INHIBIT_ALL_WARNINGS=YES | tee '../../../project/artifacts/xcb-<<parameters.rn-version>>.txt' | xcpretty
115+ - run :
116+ name : Build application for iOS (Debug)
117+ command : |
118+ cd ../test/CITest/ios
119+ xcodebuild -workspace CITest.xcworkspace -scheme CITest build -configuration Debug -destination "generic/platform=iOS" CODE_SIGNING_ALLOWED=NO GCC_WARN_INHIBIT_ALL_WARNINGS=YES | tee '../../../project/artifacts/xcb-<<parameters.rn-version>>.txt' | xcpretty
120120 - run :
121121 name : Build application for Android
122122 command : cd ../test/CITest/android && ./gradlew packageRelease
@@ -146,13 +146,13 @@ workflows:
146146 version : 2
147147 all-tests :
148148 jobs :
149- # - test-javascript
149+ - test-javascript
150150 - build-applications-using-template :
151151 name : rn<<matrix.rn-version>>-xc<<matrix.xcode-version>>-build-apps-using-template
152152 matrix :
153153 parameters :
154- rn-version : [ "0.64.4" ]
155- xcode-version : [ "12.5.1", "13.2.1" ]
154+ rn-version : [ "0.64.4", "0.65.2", "0.66.4", "0.67.3", "0.68.0","0.69.4", "0.70.1" ]
155+ xcode-version : [ "12.5.1", "13.2.1", "13.4.1", "14.0.1" ]
156156 exclude :
157157 - rn-version : " 0.64.3"
158158 xcode-version : " 13.4.1"
@@ -162,5 +162,5 @@ workflows:
162162 xcode-version : " 13.4.1"
163163 - rn-version : " 0.65.2"
164164 xcode-version : " 14.0.1"
165- # requires:
166- # - test-javascript
165+ requires :
166+ - test-javascript
0 commit comments