[Fix] Exception in iosDynamicFramework Post-Merge workflow - #21262
Conversation
It's skipped there because that build doesn't include a MacOS framework. onnxruntime/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml Lines 106 to 108 in 9ef28f0 See the build settings file: This one does: onnxruntime/tools/ci_build/github/azure-pipelines/post-merge-jobs.yml Lines 446 to 449 in 9ef28f0 |
Why do we have this error? Which bash script it was executing? |
|
I installed realpath in MacOS, but there's still exceptions that And I'm a little confused that why there's macOS since the stage name is called iosDynamicFramewok |
This
That's a good point. This was changed in #20773. It used to point to an iOS-only build settings file but that one got deleted. It might be simpler to change it back to an iOS-only build for now. It looks like there are other things to fix for MacOS. I think tools/ci_build/github/apple/default_full_ios_framework_build_settings.json is too heavy as it has quite a few sysroot/arch combinations. E.g., we could use another one which only builds iphonesimulator/x86_64. |
|
Since we need other things to fix for MacOS, I add a new setting files only for iOS and skip macos test that the pipeline can pass. |
Description
the exception was caused by 3dd6fcc
Why I add skip_macos_test
because there's new an exception in https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=1425579&view=logs&j=c90c5af3-67d5-5936-5a62-71c93ebfca65&t=01038f35-8e78-5801-1aa1-d9647bb65858
And I find macos test is skipped in
onnxruntime/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml
Lines 119 to 127 in 9ef28f0
Maybe it is an known issue.
Motivation and Context