52
52
set -e -x
53
53
NDK_HOME=$(realpath $ANDROID_NDK_HOME)
54
54
mkdir -p ${{ runner.temp }}/.build_settings
55
+ mkdir -p ${{ runner.temp }}/.artifacts
55
56
cp ${{ github.workspace }}/tools/ci_build/github/js/react_native_e2e_full_aar_build_settings.json ${{ runner.temp }}/.build_settings/build_settings.json
56
57
57
58
docker run --rm \
@@ -207,9 +208,17 @@ jobs:
207
208
- name : Install Python requirements
208
209
run : pip install -r tools/ci_build/github/apple/ios_packaging/requirements.txt
209
210
211
+ -
uses :
microsoft/onnxruntime-github-actions/[email protected]
212
+ with :
213
+ vcpkg-version : ' 2025.06.13'
214
+ vcpkg-hash : 735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc
215
+ cmake-version : ' 3.31.8'
216
+ cmake-hash : 99cc9c63ae49f21253efb5921de2ba84ce136018abf08632c92c060ba91d552e0f6acc214e9ba8123dee0cf6d1cf089ca389e321879fd9d719a60d975bcffcc8
217
+ add-cmake-to-path : ' true'
218
+ disable-terrapin : ' true'
219
+
210
220
- name : Build iOS package and assemble pods
211
221
run : |
212
- set -e -x
213
222
python ${{ github.workspace }}/tools/ci_build/github/apple/build_and_assemble_apple_pods.py \
214
223
--build-dir "${{ runner.temp }}/ios_framework_full" \
215
224
--staging-dir "${{ runner.temp }}/ios_pod" \
@@ -243,32 +252,40 @@ jobs:
243
252
uses : actions/setup-node@v5
244
253
with :
245
254
node-version : ' 22.x'
246
-
255
+
256
+ -
uses :
microsoft/onnxruntime-github-actions/[email protected]
257
+ with :
258
+ vcpkg-version : ' 2025.06.13'
259
+ vcpkg-hash : 735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc
260
+ cmake-version : ' 3.31.8'
261
+ cmake-hash : 99cc9c63ae49f21253efb5921de2ba84ce136018abf08632c92c060ba91d552e0f6acc214e9ba8123dee0cf6d1cf089ca389e321879fd9d719a60d975bcffcc8
262
+ add-cmake-to-path : ' true'
263
+ disable-terrapin : ' true'
264
+
247
265
- name : Install dependencies and bootstrap
248
266
run : |
249
267
npm ci
250
268
working-directory : ${{ github.workspace }}/js
251
269
- run : npm ci
252
270
working-directory : ${{ github.workspace }}/js/common
253
271
- run : |
272
+ set -e -x
254
273
npm ci
255
274
npm run bootstrap-no-pods
256
275
working-directory: ${{ github.workspace }}/js/react_native
257
276
258
277
- name : Pod install
259
278
run : |
260
- ORT_C_LOCAL_POD_PATH=${{ runner.temp }}/ios_pod/onnxruntime-c \
261
- pod install
279
+ ORT_C_LOCAL_POD_PATH=${{ runner.temp }}/ios_pod/onnxruntime-c pod install
262
280
working-directory : ${{ github.workspace }}/js/react_native/ios
263
281
264
282
- name : Run React Native iOS Instrumented Tests
265
283
run : |
266
- set -o pipefail && xcodebuild test \
284
+ xcodebuild test \
267
285
-workspace OnnxruntimeModule.xcworkspace \
268
286
-scheme OnnxruntimeModuleTest \
269
287
-sdk iphonesimulator \
270
- -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' \
271
- | xcpretty --report junit --output build/reports/test-results.xml
288
+ -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4'
272
289
working-directory : ${{ github.workspace }}/js/react_native/ios
273
290
274
291
react_native_ci_ios_e2e_tests :
@@ -294,8 +311,18 @@ jobs:
294
311
with :
295
312
node-version : ' 22.x'
296
313
314
+ -
uses :
microsoft/onnxruntime-github-actions/[email protected]
315
+ with :
316
+ vcpkg-version : ' 2025.06.13'
317
+ vcpkg-hash : 735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc
318
+ cmake-version : ' 3.31.8'
319
+ cmake-hash : 99cc9c63ae49f21253efb5921de2ba84ce136018abf08632c92c060ba91d552e0f6acc214e9ba8123dee0cf6d1cf089ca389e321879fd9d719a60d975bcffcc8
320
+ add-cmake-to-path : ' true'
321
+ disable-terrapin : ' true'
322
+
297
323
- name : Install dependencies and bootstrap
298
324
run : |
325
+ set -e -x
299
326
npm install -g detox-cli
300
327
brew tap wix/brew
301
328
brew install applesimutils
@@ -304,14 +331,14 @@ jobs:
304
331
- run : npm ci
305
332
working-directory : ${{ github.workspace }}/js/common
306
333
- run : |
334
+ set -e -x
307
335
npm ci
308
336
npm run bootstrap-no-pods
309
337
working-directory: ${{ github.workspace }}/js/react_native
310
338
311
339
- name : Pod install for e2e tests
312
340
run : |
313
- ORT_C_LOCAL_POD_PATH=${{ runner.temp }}/ios_pod/onnxruntime-c \
314
- pod install
341
+ ORT_C_LOCAL_POD_PATH=${{ runner.temp }}/ios_pod/onnxruntime-c pod install
315
342
working-directory : ${{ github.workspace }}/js/react_native/e2e/ios
316
343
317
344
- name : Build and Run Detox iOS e2e Tests
0 commit comments