onnxruntime/tools/ci_build/github/azure-pipelines/templates
Changming Sun 5f6a3158f8
Enable VCPKG in CI build (#23426)
### Description
1. Enable VCPKG flag in Windows CPU CI build pipelines. 
2. Increased the min supported cmake version from 3.26 to 3.28. Because
of it, drop the support for the old way of finding python by
"find_package(PythonLibs)". Therefore, in build.py we no longer set
"PYTHON_EXECUTABLE" cmake var when doing cmake configure.
3. Added "xnnpack-ep" as a feature for ORT's vcpkg config.
4. Added asset cache support for ORT's vcpkg build
5. Added VCPKG triplet files for Android build.
6. Set VCPKG triplet to "universal2-osx" if CMAKE_OSX_ARCHITECTURES was
found in cmake extra defines.
7. Removed a small piece of code in build.py, which was for support CUDA
version < 11.8.
8. Fixed an issue that CMAKE_OSX_ARCHITECTURES sometimes got specified
twice when build.py invoked cmake.
9. Added more model tests to Android build. After this change, we will
test all ONNX versions instead of just the latest one.
10. Fixed issues that are related to build.py's "--build_nuget"
parameter. Also, enable the flag in most Windows CPU CI build jobs.
11. Removed a restriction in build.py that disallowed cross-compiling
Windows ARM64 nuget package on Windows x86.
 
### Motivation and Context
Adopt vcpkg.
2025-02-05 10:58:53 -08:00
..
jobs Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
stages [mobile] Fix for mac-ios-packaging pipeline (#22879) 2024-11-19 09:27:51 -08:00
android-binary-size-check-stage.yml Update onnxruntime binary size checks ci pipeline's docker image (#23405) 2025-01-17 15:29:17 -08:00
android-dump-logs-from-steps.yml
android-java-api-aar-test.yml Update QNN default version to 2.31 (#23573) 2025-02-04 16:24:54 -08:00
android-java-api-aar.yml Update QNN default version to 2.31 (#23573) 2025-02-04 16:24:54 -08:00
build-linux-wasm-step.yml
c-api-artifacts-package-and-publish-steps-posix.yml
c-api-artifacts-package-and-publish-steps-windows.yml
c-api-cpu.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
c-api-linux-cpu.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
check-cache-stats.yml
check_test_result.yml
clean-agent-build-directory-step.yml Remove PostBuildCleanup (#23233) 2024-12-31 13:12:33 -08:00
common-variables.yml [TensorRT EP] support TensorRT 10.7-GA (#23011) 2024-12-19 10:39:15 -08:00
compliance.yml
component-governance-component-detection-steps.yml
esrp_nuget.yml
explicitly-defined-final-tasks.yml Remove PostBuildCleanup (#23233) 2024-12-31 13:12:33 -08:00
final-jar-testing.yml Remove PostBuildCleanup (#23233) 2024-12-31 13:12:33 -08:00
flex-downloadPipelineArtifact.yml
get-docker-image-steps.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
jar-esrp-dll.yml
jar-maven-signing-linux.yml Fix Maven Sha256 Checksum Issue (#22600) 2024-10-25 08:13:02 -07:00
jar-maven-signing-win.yml Fix Maven Sha256 Checksum Issue (#22600) 2024-10-25 08:13:02 -07:00
java-api-artifacts-package-and-publish-steps-posix.yml
linux-build-step-with-cache.yml
linux-ci.yml
linux-cpu-packaging-pipeline.yml Update the Docker image version (#22907) 2024-11-21 19:38:39 +08:00
linux-wasm-ci.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
linux-web-init-and-check.yml
mac-build-step-with-cache.yml
mac-cpu-packaging-pipeline.yml Deprecate macos-12 (#23017) 2024-12-05 14:07:21 +08:00
mac-cpu-packaging-steps.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
mac-cpu-packing-jobs.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
mac-esrp-dylib.yml
make_java_win_binaries.yml
nodejs-artifacts-package-and-publish-steps-posix.yml
nodejs-artifacts-package-and-publish-steps-windows.yml
ondevice-training-cpu-packaging-pipeline.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
publish-nuget-steps.yml Remove PostBuildCleanup (#23233) 2024-12-31 13:12:33 -08:00
py-linux-qnn.yml Update QNN default version to 2.31 (#23573) 2025-02-04 16:24:54 -08:00
py-linux.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
py-package-smoking-test.yml Remove PostBuildCleanup (#23233) 2024-12-31 13:12:33 -08:00
py-packaging-linux-test-cpu.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
py-packaging-linux-test-cuda.yml Remove PostBuildCleanup (#23233) 2024-12-31 13:12:33 -08:00
py-packaging-training-cuda-stage.yml
py-win-arm64-qnn.yml Update QNN default version to 2.31 (#23573) 2025-02-04 16:24:54 -08:00
py-win-arm64ec-qnn.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
py-win-x64-qnn.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
qnn-ep-win.yml Update QNN default version to 2.31 (#23573) 2025-02-04 16:24:54 -08:00
react-native-ci.yml Moving RN_CI Android Testing to Linux (#23422) 2025-01-21 11:55:29 -08:00
rocm.yml
run-docker-build-steps.yml
set-nightly-build-option-variable-step.yml
set-python-manylinux-variables-step.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
set-version-number-variables-step.yml
telemetry-steps.yml
upload-code-coverage-data.yml
use-android-emulator.yml
use-android-ndk.yml Update NDK (#23280) 2025-01-08 13:57:23 -08:00
use-xcode-version.yml
validate-package.yml
web-browserstack-ci.yml Remove PostBuildCleanup (#23233) 2024-12-31 13:12:33 -08:00
web-ci.yml [WebGPU] allow build WebGPU EP for WebAssembly (#23364) 2025-01-16 10:52:17 -08:00
win-ci.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
win-esrp-dll.yml
win-wasm-ci.yml Enable VCPKG in CI build (#23426) 2025-02-05 10:58:53 -08:00
win-web-ci.yml Remove PostBuildCleanup (#23233) 2024-12-31 13:12:33 -08:00
win-web-multi-browsers.yml Remove PostBuildCleanup (#23233) 2024-12-31 13:12:33 -08:00
windowsai-steps.yml Fix Pipeline Timeout Issue (#22901) 2024-11-20 17:18:50 +01:00
with-container-registry-steps.yml