Skip to content

Add c++ wrapper for plugin ep api #37097

Add c++ wrapper for plugin ep api

Add c++ wrapper for plugin ep api #37097

Triggered via pull request December 6, 2024 19:54
Status Failure
Total duration 31m 32s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 18 warnings
Python format
Process completed with exit code 1.
Lint C++
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
Lint JavaScript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Optional Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Python format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint C++
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint C++: include/onnxruntime/core/session/onnxruntime_cxx_api_ep.h#L16
[cpplint] reported by reviewdog 🐶 private: should be indented +1 space inside struct ValueInfoRef [whitespace/indent] [3] Raw Output: include/onnxruntime/core/session/onnxruntime_cxx_api_ep.h:16: private: should be indented +1 space inside struct ValueInfoRef [whitespace/indent] [3]
Lint C++: include/onnxruntime/core/session/onnxruntime_cxx_api_ep.h#L25
[cpplint] reported by reviewdog 🐶 Add #include <vector> for vector<> [build/include_what_you_use] [4] Raw Output: include/onnxruntime/core/session/onnxruntime_cxx_api_ep.h:25: Add #include <vector> for vector<> [build/include_what_you_use] [4]
Lint C++: include/onnxruntime/core/session/onnxruntime_cxx_api_ep.h#L45
[cpplint] reported by reviewdog 🐶 Add #include <memory> for shared_ptr<> [build/include_what_you_use] [4] Raw Output: include/onnxruntime/core/session/onnxruntime_cxx_api_ep.h:45: Add #include <memory> for shared_ptr<> [build/include_what_you_use] [4]
Lint C++: include/onnxruntime/core/session/onnxruntime_cxx_api_ep.h#L81
[cpplint] reported by reviewdog 🐶 Add #include <string> for string [build/include_what_you_use] [4] Raw Output: include/onnxruntime/core/session/onnxruntime_cxx_api_ep.h:81: Add #include <string> for string [build/include_what_you_use] [4]
Lint C++: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h#L43
[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h:43: Lines should be <= 120 characters long [whitespace/line_length] [2]
Lint C++: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h#L120
[cpplint] reported by reviewdog 🐶 Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2] Raw Output: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h:120: Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Lint C++: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h#L120
[cpplint] reported by reviewdog 🐶 TODO(my_username) should be followed by a space [whitespace/todo] [2] Raw Output: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h:120: TODO(my_username) should be followed by a space [whitespace/todo] [2]
Lint C++: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h#L293
[cpplint] reported by reviewdog 🐶 Namespace should be terminated with "// namespace PluginEP" [readability/namespace] [5] Raw Output: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h:293: Namespace should be terminated with "// namespace PluginEP" [readability/namespace] [5]
Lint C++: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h#L294
[cpplint] reported by reviewdog 🐶 Namespace should be terminated with "// namespace Ort" [readability/namespace] [5] Raw Output: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h:294: Namespace should be terminated with "// namespace Ort" [readability/namespace] [5]
Lint C++: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h#L44
[cpplint] reported by reviewdog 🐶 Add #include <vector> for vector<> [build/include_what_you_use] [4] Raw Output: include/onnxruntime/core/session/onnxruntime_cxx_inline_ep.h:44: Add #include <vector> for vector<> [build/include_what_you_use] [4]