onnxruntime/tools/ci_build/github/azure-pipelines/mac-ios-ci-pipeline.yml
Wenbing Li 4721729fdc
Enable iOS CI pipeline (#5360)
* add the ios ci build.

* no dependency on mac ci pipeline.

* fix the command line.

* keep sync

* automatically retrieve sdpath

* fix the case errors and warnings

* fix the vlog switch issue.

* add parallel flag for build.

* update the display name of the pipeline.
2020-10-02 20:14:45 -07:00

10 lines
458 B
YAML

jobs:
- job: iOS_CI_on_Mac
pool:
vmImage: 'macOS-10.15'
timeoutInMinutes: 120
steps:
- script: |
sdkpath=`xcrun --sdk iphonesimulator --show-sdk-path`
python3 $(Build.SourcesDirectory)/tools/ci_build/build.py --build_dir iOS --ios --ios_sysroot $sdkpath --osx_arch x86_64 --apple_deploy_target 12.1 --use_xcode --config RelWithDebInfo --parallel
displayName: Build onnxruntime for iOS x86_64 and run tests using simulator