onnxruntime/tools/ci_build/github/azure-pipelines/templates
Jian Chen fa68ae2def
Update pool to MacOS-13 (#17361)
### Description
See https://github.com/microsoft/onnxruntime-extensions/pull/476
and https://github.com/actions/runner-images/issues/7671

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

### Current issue
- [ ] For default xcode 15.2, that come with the MacOS-13, We Need to
update the boost container header boost/container_hash/hash.hpp version
to pass the build
- [x] For xcode 14.2 The Build passed but the `Run React Native Detox
Android e2e Test` Failed.
Possible flaky test, https://github.com/microsoft/onnxruntime/pull/21969
- [x] For xcode 14.3.1 We encountered following issue in `Build React
Native Detox iOS e2e Tests`
```
ld: file not found: /Applications/Xcode_14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
Applied following code to the eof in both ios/Podfile and fixed the
issue
```
post_install do |installer|
    installer.generated_projects.each do |project|
        project.targets.each do |target|
            target.build_configurations.each do |config|
                config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
            end
        end
    end
end
```


- [x] https://github.com/facebook/react-native/issues/32483

Applying changes to ios/Pofile
```
pre_install do |installer|
  # Custom pre-install script or commands
  puts "Running pre-install script..."

  # Recommended fix for https://github.com/facebook/react-native/issues/32483
  # from https://github.com/facebook/react-native/issues/32483#issuecomment-966784501
  system("sed -i '' 's/typedef uint8_t clockid_t;//' \"${SRCROOT}/Pods/RCT-Folly/folly/portability/Time.h\"")
end
```

- [ ] Detox environment setting up exceeded time out of 120000ms during
iso e2e test


### dependent 

- [x] https://github.com/microsoft/onnxruntime/pull/21159

---------

Co-authored-by: Changming Sun <chasun@microsoft.com>
2024-09-17 10:07:30 -07:00
..
jobs [QNN EP] Update QNN SDK to 2.26 (#22037) 2024-09-10 14:03:06 -07:00
stages Update pool to MacOS-13 (#17361) 2024-09-17 10:07:30 -07:00
android-binary-size-check-stage.yml Update training packaging pipeline's docker files (#20853) 2024-05-30 23:48:42 -07:00
android-dump-logs-from-steps.yml Fix typo for react native pipeline (#21845) 2024-08-26 12:05:11 +10:00
android-java-api-aar-test.yml Update pool to MacOS-13 (#17361) 2024-09-17 10:07:30 -07:00
android-java-api-aar.yml Remove deprecated "mobile" packages (#20941) 2024-06-07 16:20:32 -05:00
build-linux-wasm-step.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
c-api-artifacts-package-and-publish-steps-posix.yml
c-api-artifacts-package-and-publish-steps-windows.yml
c-api-cpu.yml Update pool to MacOS-13 (#17361) 2024-09-17 10:07:30 -07:00
c-api-linux-cpu.yml Fix docker image layer caching to avoid redundant docker building and transient connection exceptions. (#21612) 2024-08-06 21:37:09 +08:00
check-cache-stats.yml
check_test_result.yml Check whether required tests are executed. (#19884) 2024-03-13 09:59:57 -07:00
clean-agent-build-directory-step.yml
common-variables.yml
compliance.yml
component-governance-component-detection-steps.yml Adding $(Build.SourcesDirectory)s to the ignoreDirectories (#21878) 2024-08-27 19:56:48 -07:00
download-deps.yml Add dependency dawn into deps.txt (#21910) 2024-09-02 04:24:28 -07:00
esrp_nuget.yml Upgrade ESRP signing task from v2 to v5 (#20995) 2024-06-12 08:31:53 +08:00
explicitly-defined-final-tasks.yml
final-jar-testing.yml Update copy_strip_binary.sh: use "make install" instead (#21464) 2024-07-24 10:02:00 -07:00
flex-downloadPipelineArtifact.yml
get-docker-image-steps.yml Fix docker image layer caching to avoid redundant docker building and transient connection exceptions. (#21612) 2024-08-06 21:37:09 +08:00
install-appcenter.yml
java-api-artifacts-package-and-publish-steps-posix.yml
linux-build-step-with-cache.yml
linux-ci.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
linux-cpu-packaging-pipeline.yml Upgrade Ubuntu machine pool from 20.04 to 22.04 (#19117) 2024-01-16 17:25:18 -08:00
linux-wasm-ci.yml Remove training from web ci pipeline (#22082) 2024-09-13 09:52:49 -07:00
linux-web-init-and-check.yml [js/common] fix typedoc warnings (#19933) 2024-03-15 19:01:50 -07:00
mac-build-step-with-cache.yml
mac-cpu-packaging-pipeline.yml Update pool to MacOS-13 (#17361) 2024-09-17 10:07:30 -07:00
mac-cpu-packaging-steps.yml Update copy_strip_binary.sh: use "make install" instead (#21464) 2024-07-24 10:02:00 -07:00
mac-cpu-packing-jobs.yml Update pool to MacOS-13 (#17361) 2024-09-17 10:07:30 -07:00
mac-esrp-dylib.yml Upgrade ESRP signing task from v2 to v5 (#20995) 2024-06-12 08:31:53 +08:00
make_java_win_binaries.yml Remove warning suppression from Java Packaging pipeline. (#21010) 2024-06-24 16:46:21 -07:00
nodejs-artifacts-package-and-publish-steps-posix.yml
nodejs-artifacts-package-and-publish-steps-windows.yml
ondevice-training-cpu-packaging-pipeline.yml Split ondevice training cpu packaging pipeline to a separated pipeline (#21485) 2024-07-25 10:58:34 -07:00
orttraining-linux-gpu-test-ci-pipeline.yml Unblock migraphx and linux GPU training ci pipelines (#21662) 2024-08-08 19:44:15 -07:00
publish-nuget-steps.yml Move QNN nuget package stages out of the big Nuget packaging pipeline. (#21306) 2024-07-11 09:07:23 -07:00
py-linux-gpu.yml [Running CI] [TensorRT EP] support TensorRT 10.3-GA (#21742) 2024-08-18 13:26:41 -07:00
py-linux.yml Remove manylinux build scripts from python packaging pipeline (#20786) 2024-05-24 08:18:22 -07:00
py-package-smoking-test.yml
py-packaging-linux-test-cpu.yml Remove manylinux build scripts from python packaging pipeline (#20786) 2024-05-24 08:18:22 -07:00
py-packaging-linux-test-cuda.yml [Running CI] [TensorRT EP] support TensorRT 10.3-GA (#21742) 2024-08-18 13:26:41 -07:00
py-packaging-selectable-stage.yml [Running CI] [TensorRT EP] support TensorRT 10.3-GA (#21742) 2024-08-18 13:26:41 -07:00
py-packaging-stage.yml Update pool to MacOS-13 (#17361) 2024-09-17 10:07:30 -07:00
py-packaging-training-cuda-stage-steps.yml update size limit check of training GPU wheel (#21762) 2024-08-21 09:30:05 +08:00
py-packaging-training-cuda-stage.yml Reuse T4 for Cuda12.2 training packaging pipeline. (#20244) 2024-04-10 09:21:40 +08:00
py-win-arm64-qnn.yml [QNN EP] Update QNN SDK to 2.26 (#22037) 2024-09-10 14:03:06 -07:00
py-win-arm64ec-qnn.yml [QNN EP] Update QNN SDK to 2.26 (#22037) 2024-09-10 14:03:06 -07:00
py-win-gpu.yml Add compatibility for NumPy 2.0 (#21085) 2024-06-27 13:50:53 -07:00
py-win-x64-qnn.yml [QNN EP] Update QNN SDK to 2.26 (#22037) 2024-09-10 14:03:06 -07:00
qnn-ep-win.yml [QNN EP] Update QNN SDK to 2.26 (#22037) 2024-09-10 14:03:06 -07:00
react-native-ci.yml Update pool to MacOS-13 (#17361) 2024-09-17 10:07:30 -07:00
rocm.yml [ROCm] Extend the Pipeline restriction time (#21158) 2024-06-27 15:36:04 +08:00
run-docker-build-steps.yml
set-nightly-build-option-variable-step.yml
set-python-manylinux-variables-step.yml
set-version-number-variables-step.yml
telemetry-steps.yml
upload-code-coverage-data.yml
use-android-emulator.yml Combining android build and test step into one job (#21340) 2024-07-15 14:44:03 -07:00
use-android-ndk.yml Update Android NDK version to 27.0.12077973. (#21989) 2024-09-05 17:57:24 -07:00
use-xcode-version.yml Update pool to MacOS-13 (#17361) 2024-09-17 10:07:30 -07:00
validate-package.yml
web-browserstack-ci.yml [js/web] optimize module export and deployment (#20165) 2024-05-20 09:51:16 -07:00
web-ci.yml [js/web] optimize module export and deployment (#20165) 2024-05-20 09:51:16 -07:00
win-ci.yml Remove warning suppression from Java Packaging pipeline. (#21010) 2024-06-24 16:46:21 -07:00
win-esrp-dll.yml Add Files Signature Validation after Signed by ESRP (#21949) 2024-09-02 17:16:59 +08:00
win-wasm-ci.yml [js/web] optimize module export and deployment (#20165) 2024-05-20 09:51:16 -07:00
win-web-ci.yml Remove training from web ci pipeline (#22082) 2024-09-13 09:52:49 -07:00
win-web-multi-browsers.yml Web CI: make multi-browser test job optional (#21669) 2024-08-09 23:53:26 -07:00
with-container-registry-steps.yml