@@ -143,3 +143,106 @@ jobs:
143
143
echo "tests complete"
144
144
echo "*******************************************"
145
145
echo "::endgroup::"
146
+
147
+ test-eval-macos :
148
+ runs-on : macos-14-xlarge
149
+ steps :
150
+ - name : Checkout code
151
+ uses : actions/checkout@v2
152
+ - uses : actions/setup-python@v4
153
+ with :
154
+ python-version : ' 3.10.11'
155
+ - name : Setup Xcode
156
+ if : runner.os == 'macOS'
157
+ uses : maxim-lobanov/setup-xcode@v1
158
+ with :
159
+ xcode-version : ' 15.3'
160
+ - name : Run script
161
+ run : |
162
+ set -x
163
+ # NS: Remove previous installation of torch first
164
+ # as this script does not isntall anything into conda env but rather as system dep
165
+ pip3 uninstall -y torch || true
166
+ set -eou pipefail
167
+
168
+ echo "::group::Print machine info"
169
+ uname -a
170
+ sysctl machdep.cpu.brand_string
171
+ sysctl machdep.cpu.core_count
172
+ echo "::endgroup::"
173
+
174
+ .ci/scripts/run-docs evaluation
175
+
176
+ echo "::group::Completion"
177
+ echo "tests complete"
178
+ echo "*******************************************"
179
+ echo "::endgroup::"
180
+
181
+ test-multimodal-macos :
182
+ runs-on : macos-14-xlarge
183
+ steps :
184
+ - name : Checkout code
185
+ uses : actions/checkout@v2
186
+ - uses : actions/setup-python@v4
187
+ with :
188
+ python-version : ' 3.10.11'
189
+ - name : Setup Xcode
190
+ if : runner.os == 'macOS'
191
+ uses : maxim-lobanov/setup-xcode@v1
192
+ with :
193
+ xcode-version : ' 15.3'
194
+ - name : Run script
195
+ run : |
196
+ set -x
197
+ # NS: Remove previous installation of torch first
198
+ # as this script does not isntall anything into conda env but rather as system dep
199
+ pip3 uninstall -y torch || true
200
+ set -eou pipefail
201
+
202
+ echo "::group::Print machine info"
203
+ uname -a
204
+ sysctl machdep.cpu.brand_string
205
+ sysctl machdep.cpu.core_count
206
+ echo "::endgroup::"
207
+
208
+ .ci/scripts/run-docs multimodal
209
+
210
+ echo "::group::Completion"
211
+ echo "tests complete"
212
+ echo "*******************************************"
213
+ echo "::endgroup::"
214
+
215
+ test-native-macos :
216
+ runs-on : macos-14-xlarge
217
+ steps :
218
+ - name : Checkout code
219
+ uses : actions/checkout@v2
220
+ - uses : actions/setup-python@v4
221
+ with :
222
+ python-version : ' 3.10.11'
223
+ - name : Setup Xcode
224
+ if : runner.os == 'macOS'
225
+ uses : maxim-lobanov/setup-xcode@v1
226
+ with :
227
+ xcode-version : ' 15.3'
228
+ - name : Run script
229
+ run : |
230
+ set -x
231
+ # NS: Remove previous installation of torch first
232
+ # as this script does not isntall anything into conda env but rather as system dep
233
+ pip3 uninstall -y torch || true
234
+ set -eou pipefail
235
+
236
+ echo "::group::Print machine info"
237
+ uname -a
238
+ sysctl machdep.cpu.brand_string
239
+ sysctl machdep.cpu.core_count
240
+ echo "::endgroup::"
241
+
242
+ .ci/scripts/run-docs native
243
+
244
+ echo "::group::Completion"
245
+ echo "tests complete"
246
+ echo "*******************************************"
247
+ echo "::endgroup::"
248
+
0 commit comments