8
8
branches :
9
9
- " **"
10
10
schedule :
11
- - cron : ' 3 3 * * 2' # 3:03 AM, every Tuesday
11
+ - cron : " 3 3 * * 2" # 3:03 AM, every Tuesday
12
12
13
13
concurrency :
14
14
group : ci-${{ github.ref }}
44
44
install : true
45
45
- platform : [iOS, 14]
46
46
runtime : iOS 14.5
47
- os : macos-13
48
- xcode : 14.3.1
47
+ os : macos-12
48
+ xcode : 14.2
49
49
install : true
50
50
- platform : [iOS, 15]
51
51
runtime : iOS 15.5
57
57
os : macos-13
58
58
xcode : 14.3.1
59
59
- platform : [iOS, 17]
60
- runtime : iOS 17.0
61
- os : macos-13
62
- xcode : 15.0.1
60
+ runtime : iOS 17.5
61
+ os : macos-14
62
+ xcode : 15.4
63
63
64
64
- platform : [tvOS, 13]
65
65
runtime : tvOS 13.4
68
68
install : true
69
69
- platform : [tvOS, 14]
70
70
runtime : tvOS 14.5
71
- os : macos-13
72
- xcode : 14.3.1
71
+ os : macos-12
72
+ xcode : 14.2
73
73
install : true
74
74
- platform : [tvOS, 15]
75
75
runtime : tvOS 15.4
@@ -81,15 +81,10 @@ jobs:
81
81
os : macos-13
82
82
xcode : 15.0.1
83
83
- platform : [tvOS, 17]
84
- runtime : tvOS 17.0
85
- os : macos-13
86
- xcode : 15.0.1
84
+ runtime : tvOS 17.5
85
+ os : macos-14
86
+ xcode : 15.4
87
87
88
- - platform : [watchOS, 7]
89
- runtime : watchOS 7.4
90
- os : macos-13
91
- xcode : 14.3.1
92
- install : true
93
88
- platform : [watchOS, 8]
94
89
runtime : watchOS 8.5
95
90
os : macos-13
100
95
os : macos-13
101
96
xcode : 14.3.1
102
97
- platform : [watchOS, 10]
103
- runtime : watchOS 10.0
104
- os : macos-13
105
- xcode : 15.0.1
98
+ runtime : watchOS 10.5
99
+ os : macos-14
100
+ xcode : 15.4
106
101
107
102
- platform : [macOS, 12]
108
103
runtime : macOS 12
@@ -112,13 +107,15 @@ jobs:
112
107
runtime : macOS 13
113
108
os : macos-13
114
109
xcode : 15.0.1
115
-
116
- # FIXME: this currently hangs on CI
117
- # - platform: [visionos, 1]
118
- # runtime: visionOS 1.0-beta2
119
- # os: macos-13
120
- # xcode: 15.0
121
- # install: true
110
+ # - platform: [macOS, 14]
111
+ # runtime: macOS 14
112
+ # os: macos-14
113
+ # xcode: 15.4
114
+
115
+ # - platform: [visionOS, 1]
116
+ # runtime: visionOS 1.2
117
+ # os: macos-14
118
+ # xcode: 15.4
122
119
steps :
123
120
- name : Git Checkout
124
121
uses : actions/checkout@v4
@@ -131,9 +128,18 @@ jobs:
131
128
- name : Set environment variables
132
129
run : echo "SKIP_SLOW_FASTLANE_WARNING=1" >> $GITHUB_ENV
133
130
131
+ - if : ${{ matrix.platform[0] == 'visionOS' }}
132
+ run : |
133
+ defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES
134
+ defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES
135
+
134
136
- name : Select Xcode version
135
137
run : sudo xcodes select ${{ matrix.xcode }}
136
138
139
+ - if : ${{ matrix.install }}
140
+ name : " [Debug] List Available Installable Runtimes"
141
+ run : xcodes runtimes --include-betas
142
+
137
143
- if : ${{ matrix.install }}
138
144
name : Install Required Runtime (${{ matrix.runtime }})
139
145
uses : nick-fields/retry@v2
@@ -142,8 +148,7 @@ jobs:
142
148
max_attempts : 3
143
149
command : sudo xcodes runtimes install '${{ matrix.runtime }}'
144
150
145
- - if : false
146
- name : ' [Debug] List Available Runtimes, Simulators, and Destinations'
151
+ - name : " [Debug] List Available Runtimes, Simulators, and Destinations"
147
152
run : |
148
153
xcrun simctl list
149
154
xcodebuild -scheme "SwiftUIIntrospect" -showdestinations
@@ -160,6 +165,6 @@ jobs:
160
165
name : Run Tests
161
166
run : fastlane test platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:SwiftUIIntrospectTests configuration:Debug
162
167
163
- - if : ${{ matrix.platform[0] == 'iOS' && matrix.platform[1] <= '16' }}
164
- name : Run UI Tests
165
- run : fastlane test platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:SwiftUIIntrospectUITests configuration:Debug
168
+ # - if: ${{ matrix.platform[0] == 'iOS' && matrix.platform[1] <= '16' }}
169
+ # name: Run UI Tests
170
+ # run: fastlane test platform:${{ matrix.platform[0] }} version:${{ matrix.platform[1] }} scheme:SwiftUIIntrospectUITests configuration:Debug
0 commit comments