-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable VCPKG in CI build #23426
base: main
Are you sure you want to change the base?
Enable VCPKG in CI build #23426
Conversation
@@ -1130,29 +1136,46 @@ | |||
# TODO: set VCPKG_PLATFORM_TOOLSET_VERSION | |||
# Setup CMake flags for vcpkg | |||
vcpkg_install_options = ["--x-feature=tests"] | |||
|
Check warning
Code scanning / lintrunner
RUFF/W293 Warning
See https://docs.astral.sh/ruff/rules/blank-line-with-whitespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can commit the suggested changes from lintrunner.
ort_build_dir = "/p:OnnxRuntimeBuildDirectory=" + native_dir | ||
|
||
run_subprocess(cmd_args, cwd=csharp_build_dir) | ||
|
Check warning
Code scanning / lintrunner
RUFF/W293 Warning
See https://docs.astral.sh/ruff/rules/blank-line-with-whitespace
ort_build_dir = "/p:OnnxRuntimeBuildDirectory=" + native_dir | ||
|
||
run_subprocess(cmd_args, cwd=csharp_build_dir) | ||
|
Check warning
Code scanning / lintrunner
RUFF/W293 Warning
See https://docs.astral.sh/ruff/rules/blank-line-with-whitespace
|
||
run_subprocess(cmd_args, cwd=csharp_build_dir) | ||
|
||
|
Check warning
Code scanning / lintrunner
RUFF/W293 Warning
See https://docs.astral.sh/ruff/rules/blank-line-with-whitespace
Description
Enable VCPKG flag in most CI build pipelines.
Motivation and Context