Commit 7f231f0
authored
ci: show list of simulators to avoid CI errors due to missing simulator (#1270)
## 📜 Description
Added a job for requesting available simulators before proceeding to
builds.
## 💡 Motivation and Context
As described in actions/runner-images#12948 I
added a logger for querying all devices before making any builds
commands.
For example sometimes this step may take 1 minute to complete, but will
list all available devices and will complete job successfully:
<img width="1290" height="311" alt="image"
src="https://github.com/user-attachments/assets/6e3ae7d5-a7d0-4b96-bf5a-08c953ba2d4a"
/>
If job is not failing this step executed very fast:
<img width="1292" height="256" alt="image"
src="https://github.com/user-attachments/assets/62c63979-e979-402b-951b-b1b84501b98b"
/>
So let's keep this job (it's used not only for debugging step, but also
helps to fix random failures).
Workaround for actions/runner-images#12948
## 📢 Changelog
<!-- High level overview of important changes -->
<!-- For example: fixed status bar manipulation; added new types
declarations; -->
<!-- If your changes don't affect one of platform/language below - then
remove this platform/language -->
### CI
- run `xcrun simctl list` before XCode builds;
## 🤔 How Has This Been Tested?
Tested via this PR.
## 📸 Screenshots (if appropriate):
<img width="262" height="96" alt="image"
src="https://github.com/user-attachments/assets/0343dd42-71bb-493b-ae3a-2af49e0b4734"
/>
## 📝 Checklist
- [x] CI successfully passed
- [x] I added new mocks and corresponding unit-tests if library API was
changed1 parent 68395bf commit 7f231f0
3 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
0 commit comments