@@ -51,107 +51,102 @@ jobs:
51
51
runtime : iOS 15.5
52
52
os : macos-15
53
53
xcode : 26.0
54
- install : true
55
54
- platform : [iOS, 16]
56
55
runtime : iOS 16.4
57
56
os : macos-15
58
57
xcode : 26.0
59
- install : true
60
58
- platform : [iOS, 17]
61
59
runtime : iOS 17.5
62
60
os : macos-15
63
61
xcode : 26.0
64
- install : true
65
62
- platform : [iOS, 18]
66
63
runtime : iOS 18.6
67
64
os : macos-15
68
65
xcode : 26.0
69
- install : false
70
- # - platform: [iOS, 26]
71
- # runtime: iOS 26.0
72
- # os: macos-15
73
- # xcode: 26.0
66
+ - platform : [iOS, 26]
67
+ runtime : iOS 26.0
68
+ os : macos-15
69
+ xcode : 26.0
74
70
75
71
- platform : [tvOS, 15]
76
72
runtime : tvOS 15.4
77
73
os : macos-15
78
74
xcode : 26.0
79
- install : true
80
75
- platform : [tvOS, 16]
81
76
runtime : tvOS 16.4
82
77
os : macos-15
83
78
xcode : 26.0
84
- install : true
85
79
- platform : [tvOS, 17]
86
80
runtime : tvOS 17.5
87
81
os : macos-15
88
82
xcode : 26.0
89
- install : true
90
83
- platform : [tvOS, 18]
91
84
runtime : tvOS 18.5
92
85
os : macos-15
93
86
xcode : 26.0
94
- install : false
95
- # - platform: [tvOS, 26]
96
- # runtime: tvOS 26.0
97
- # os: macos-15
98
- # xcode: 26.0
87
+ - platform : [tvOS, 26]
88
+ runtime : tvOS 26.0
89
+ os : macos-15
90
+ xcode : 26.0
99
91
100
92
- platform : [watchOS, 8]
101
93
runtime : watchOS 8.5
102
94
os : macos-15
103
95
xcode : 26.0
104
- install : true
105
96
- platform : [watchOS, 9]
106
97
runtime : watchOS 9.4
107
98
os : macos-15
108
99
xcode : 26.0
109
- install : true
110
100
- platform : [watchOS, 10]
111
101
runtime : watchOS 10.5
112
102
os : macos-15
113
103
xcode : 26.0
114
- install : true
115
104
- platform : [watchOS, 11]
116
105
runtime : watchOS 11.5
117
106
os : macos-15
118
107
xcode : 26.0
119
- install : false
120
- # - platform: [watchOS, 26]
121
- # runtime: watchOS 26.0
122
- # os: macos-15
123
- # xcode: 26.0
108
+ - platform : [watchOS, 26]
109
+ runtime : watchOS 26.0
110
+ os : macos-15
111
+ xcode : 26.0
124
112
125
113
- platform : [macOS, 15]
126
114
runtime : macOS 15
127
115
os : macos-15
128
116
xcode : 26.0
129
117
# - platform: [macOS, 26]
130
118
# runtime: macOS 26.0
131
- # os: macos-15
119
+ # os: macos-26
132
120
# xcode: 26.0
133
121
134
122
- platform : [visionOS, 1]
135
123
runtime : visionOS 1.2
136
124
os : macos-15
137
125
xcode : 26.0
138
- install : true
139
126
- platform : [visionOS, 2]
140
127
runtime : visionOS 2.5
141
128
os : macos-15
142
129
xcode : 26.0
143
- install : false
144
- # - platform: [visionOS, 26]
145
- # runtime: visionOS 26.0
146
- # os: macos-15
147
- # xcode: 26.0
130
+ - platform : [visionOS, 26]
131
+ runtime : visionOS 26.0
132
+ os : macos-15
133
+ xcode : 26.0
148
134
steps :
149
135
- name : Git Checkout
150
136
uses : actions/checkout@v4
151
137
152
138
- name : Set environment variables
153
139
run : echo "SKIP_SLOW_FASTLANE_WARNING=1" >> $GITHUB_ENV
154
140
141
+ - if : ${{ matrix.platform[0] != 'macOS' }}
142
+ name : Check for ${{ matrix.runtime }} runtime
143
+ run : |
144
+ if xcrun simctl list runtimes | grep -q "${{ matrix.runtime }}"; then
145
+ echo "has_runtime=true" >> "$GITHUB_ENV"
146
+ else
147
+ echo "has_runtime=false" >> "$GITHUB_ENV"
148
+ fi
149
+
155
150
- name : Select Xcode ${{ matrix.xcode }}
156
151
run : sudo xcodes select ${{ matrix.xcode }}
157
152
@@ -163,11 +158,11 @@ jobs:
163
158
max_attempts : 3
164
159
command : xcodebuild -downloadPlatform ${{ matrix.platform[0] }}
165
160
166
- - if : ${{ matrix.install }}
161
+ - if : env.has_runtime == 'false'
167
162
name : " [Debug] List Available Installable Runtimes"
168
163
run : xcodes runtimes --include-betas
169
164
170
- - if : ${{ matrix.install }}
165
+ - if : env.has_runtime == 'false'
171
166
name : Install Required Runtime (${{ matrix.runtime }})
172
167
uses : nick-fields/retry@v3
173
168
with :
0 commit comments