File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -268,14 +268,17 @@ jobs:
268268 run : |
269269 xcrun simctl install booted example/ios/build/Build/Products/Debug-iphonesimulator/RiveExample.app
270270
271- - name : Debug - Test app launch
271+ - name : Warmup - Start Metro and launch app once
272272 run : |
273- echo "Attempting to launch app..."
274- xcrun simctl launch --console booted rive.example 2>&1 &
273+ cd example
274+ yarn start &
275+ METRO_PID=$!
275276 sleep 10
276- echo "Checking if app is running..."
277- xcrun simctl listapps booted | grep -A5 "rive.example" || true
277+ echo "Launching app to warm up..."
278+ xcrun simctl launch booted rive.example
279+ sleep 5
278280 xcrun simctl terminate booted rive.example || true
281+ kill $METRO_PID || true
279282
280283 - name : Run harness tests on iOS
281284 timeout-minutes : 10
You can’t perform that action at this time.
0 commit comments