onnxruntime/.github/workflows
PARK DongHa 5b9c968eaa
Correct ONNX and Protobuf version in vcpkg build (#23285)
### Description

Changes vcpkg manifest and configuration file (vcpkg.json &
vcpkg-configuration.json)

* Update vcpkg version to
https://github.com/microsoft/vcpkg/releases/tag/2024.12.16
* Use protobuf 3.21.12(= `v21.12`) to sync with
[cmake/deps.txt](https://github.com/microsoft/onnxruntime/blob/main/cmake/deps.txt)
  * Resolve https://github.com/microsoft/onnxruntime/issues/22750
* Add `onnx` to vcpkg manifest so `find_package(ONNX)` and
`find_dependency(Protobuf)` can work as expected.
  * Currently, It uses 1.16.2
* v1.17.0 will become available after
https://github.com/microsoft/vcpkg/pull/42942

However, `onnx` in vcpkg doesn't configure
`ONNX_DISABLE_STATIC_REGISTRATION` build option.

* https://github.com/microsoft/vcpkg/pull/38879
* Create "cmake/vcpkg-triplets/" folder and triplet files which use
`VCPKG_CMAKE_CONFIGURE_OPTIONS` for the option
* This requires `VCPKG_OVERLAY_TRIPLETS` environment variable for CI
steps, which is a bit inconvenient.
     I will try to find simple way to get same result

### Motivation and Context

* Help #23158 
  * "ONNX is not consumed from vcpkg"
* "Mismatch protobuf version. When vcpkg is enabled , we should not
fetch protoc from Github which may cause version mismatches."
* https://github.com/microsoft/vcpkg/pull/43126
* #21348
2025-01-08 12:25:17 -08:00
..
cffconvert.yml Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
codeql.yml Add concurrency setting to codeql workflow (#22678) 2024-10-31 16:01:07 -07:00
generate-skip-doc-change.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
gradle-wrapper-validation.yml Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
labeler.yml Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
lint.yml Update python version metadata (remove 3.7, 3.8, 3.9; add 3.13). (#23067) 2024-12-17 10:59:20 -08:00
linux_training.yml Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
mac.yml Correct ONNX and Protobuf version in vcpkg build (#23285) 2025-01-08 12:25:17 -08:00
pr_checks.yml Use suggest-changes@v2 (#22667) 2024-11-01 13:13:04 -07:00
publish-c-apidocs.yml Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
publish-csharp-apidocs.yml Move C# doc Github Action to Windows (#22880) 2024-11-18 23:56:59 -08:00
publish-gh-pages.yml Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
publish-java-apidocs.yml Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
publish-js-apidocs.yml Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
publish-objectivec-apidocs.yml Change API docs schedule from monthly to every 2 weeks (#22524) 2024-10-22 09:21:27 -07:00
publish-python-apidocs.yml Update publish-python-apidocs.yml (#22655) 2024-10-30 19:25:29 -07:00
sca.yml Enable Prefast for WebGPU native (#22588) 2024-10-24 19:10:00 -07:00
skip-doc-change.yml.j2 Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
stale.yml Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
title-only-labeler.yml Move Linux Github actions to a dedicated pool (#22566) 2024-10-24 07:34:05 -07:00
windows.yml Correct ONNX and Protobuf version in vcpkg build (#23285) 2025-01-08 12:25:17 -08:00