Skip to content

Commit b37ee40

Browse files
committed
wip: attempt to debug failing CI
1 parent d3cb26c commit b37ee40

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/rn-tester/Podfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ end
2121

2222
prepare_react_native_project!
2323

24-
IN_CI = ENV['CI'] == 'true'
25-
2624
@prefix_path = "../react-native"
2725

2826
linkage = ENV['USE_FRAMEWORKS']

scripts/objc-test.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ runTests() {
8383
buildForTesting() {
8484
# shellcheck disable=SC1091
8585
source "$ROOT/scripts/.tests.env"
86-
xcodebuild build-for-testing \
86+
xcodebuild build-for-testing OTHER_LDFLAGS="-Xlinker -v" -verbose \
8787
-workspace RNTesterPods.xcworkspace \
8888
-scheme RNTester \
89-
-sdk iphonesimulator
89+
-sdk iphonesimulator \
90+
-derivedDataPath "/tmp/RNTesterBuild"
9091
}
9192

9293
runTestsOnly() {
@@ -155,7 +156,7 @@ main() {
155156

156157
# Build and run tests.
157158
RESULT=-1
158-
MAX_RETRY=3
159+
MAX_RETRY=1
159160
for ((i=1; i<=MAX_RETRY; i++))
160161
do
161162
echo "Attempt #$i of running tests..."

0 commit comments

Comments
 (0)