Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

iOS CI: give a slow simulator boot eight minutes to reach the page

Duarte Santos6e04ec3ccd17
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
index 5f2cc8f91..17e91b770 100644
--- a/.github/workflows/ios.yml
+++ b/.github/workflows/ios.yml
@@ -64,10 +64,10 @@ jobs:
xcrun simctl boot "$UDID"
xcrun simctl bootstatus "$UDID" -b
xcrun simctl install "$UDID" build/dd/Build/Products/Debug-iphonesimulator/App.app
- # A busy runner can still be starting the simulator's own apps: give the page up to three
+ # A busy runner can still be starting the simulator's own apps: give the page up to eight
# minutes to reach its plugins rather than a fixed wait.
xcrun simctl launch --console-pty "$UDID" ch.opengym.app > build/console.log 2>&1 &
- for i in $(seq 36); do grep -q "RestAlert" build/console.log && break; sleep 5; done
+ for i in $(seq 96); do grep -q "RestAlert" build/console.log && break; sleep 5; done
sleep 5
xcrun simctl io "$UDID" screenshot build/first-screen.png || true
kill %1 || true