mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-15 20:50:42 +00:00
### Description - Changes running the E2E iOS tests from running in App Center to running in BrowserStack - Steps for running locally can be found in the OneNote ### Motivation and Context - Follow-up of #22117 - App Center (the previous platform for running E2E mobile tests) is getting deprecated in 2025 ### Misc info Additional build steps were required to get the necessary testing artifacts for BrowserStack. App Center consumed an entire folder, while BrowserStack requests the following: 1. a ZIP file of all the tests 2. an IPA file of the test app #### Flow Here is a rough outline of what is happening in the pipeline: 1. The build_and_assemble_apple_pods.py script builds the relevant frameworks (currently, this means packages for iOS and Mac) 4. The test_apple_packages.py script installs the necessary cocoapods for later steps 5. XCode task to build for testing builds the iOS target for the test app 6. Now that the test app and the tests have been built, we can zip them, creating the tests .zip file 7. To create the IPA file, we need to create a .plist XML file which is generated by the generate_plist.py script. - Attempts to use the Xcode@5 task to automatically generate the plist file failed. - Also, building for testing generates some plist files -- these cannot be used to export an IPA file. 8. We run the Xcode task to build an .xcarchive file, which is required for creating an IPA file. 9. We use xcodebuild in a script step to build an IPA file with the xcarchive and plist files from the last two steps. 10. Finally, we can run the tests using the BrowserStack script. --------- Co-authored-by: Scott McKay <skottmckay@gmail.com> Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| util | ||
| __init__.py | ||
| check_onnx_model_mobile_usability.py | ||
| convert_onnx_models_to_ort.py | ||
| create_reduced_build_config.py | ||
| dump_ort_model.py | ||
| dump_subgraphs.py | ||
| example_operator_perf_test.py | ||
| find_optimizer_opset_version_updates_required.py | ||
| fix_long_lines.py | ||
| gen_contrib_doc.py | ||
| gen_opkernel_doc.py | ||
| get_submodules.py | ||
| onnx2tfevents.py | ||
| onnx_test_data_utils.py | ||
| ort_test_dir_utils.py | ||
| PythonTools.md | ||
| remove_initializer_from_input.py | ||
| run_adb.py | ||
| run_android_emulator.py | ||
| run_CIs_for_branch.py | ||
| run_CIs_for_external_pr.py | ||
| sparsify_initializers.py | ||
| update_version.py | ||
| upload_and_run_browserstack_tests.py | ||