Repository navigation
ci(ios): boot the simulator while the app builds - #3547
Merged
Merged
Conversation
Member
Author
|
Trial result: both runs were about 8 minutes slower than the median (25.1 and 25.5 vs 17.2), since the boot starves the setup steps. #3554 puts the boot back after the build and keeps the cache-off line. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The iOS job left the simulator to
xcodebuild test, which booted it only after the build. Recent runs waited 2 to 7 minutes between the end of the build and the first test.Change
iPhone 18 Proby UDID right after setup-xcode, so its first boot overlaps the build. The lookup takes the newest iOS runtime that has the device, as a destination by name does, and still downloads the platform when it is missing.xcodebuild testtargets that UDID with-destination id=, so exactly one simulator boots.-parallel-testing-enabled NOstays.ci.md: iOS and Package Tests.Verified
This PR's iOS run (39164087175) was the trial, and it regressed: 25.1 min against 13.2 to 16.7 without the early boot. The boot slowed setup-xcodegen plus
download-libs.shfrom 0.2 to 4.0 to 7.0 min. #3554 reverts the boot and keeps the cache off; its table has the step times.