onnxruntime/.github/workflows
David Justice 2c22b49876
Fix rust compile issues and add GH action to run build validations and tests (#18346)
### Description
This PR gets the onnxruntime Rust bindings to a foundation where they
can be extended and validated as the onnxruntime progresses.
Specifically, the PR does the following.
- fixes some of the existing compilation issues due to missing some
enums output tensor data types.
- introduces a `just vendor` task that will vendor the source code from
the onnxruntime to enable a common base directory within the crate
directory rather than using a relative parent path. This enables `crate
package` to be able to archive the onnxruntime native code, which will
enable consumers of the onnxruntime-sys crate to be able to compile on
their target.
- introduces a GH action to lint the Rust code (rustfmt, clippy), build
the library, validate through tests, and validate crate can package
correctly.


TODOs:
- [x] This PR is based on #18200 and will need to be rebased once that
PR is merged.



### 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. -->

This is the first step to getting new onnxruntime Rust crates published
through this project, which will unblock community Rust projects which
would like to take a dependency on onnxruntime Rust.

Follow up work to enable publication of onnxruntime Rust crates:
- change name of the crates to be published (onnxruntime-rs and
onnxruntime-sys are already taken and we'll need new names)
- update authors / license to reflect contributions from previous
maintainer(s) and new maintainers
- introduce a crate publish GH action or ADO pipeline

---------

Signed-off-by: David Justice <david@devigned.com>
2023-11-09 04:26:02 -08:00
..
cffconvert.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
codeql.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
generate-skip-doc-change.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
generated_fake_win_gpu_ci.yml Update Win_GPU_CI trigger (#13290) 2022-10-12 15:22:42 +08:00
gradle-wrapper-validation.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
labeler.yml Bump github/issue-labeler from 2.5 to 3.2 (#16639) 2023-08-15 18:00:19 +00:00
lint.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
linux.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
publish-c-apidocs.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
publish-csharp-apidocs.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
publish-gh-pages.yml Add website publish placeholder (#17318) 2023-08-30 11:01:54 -07:00
publish-java-apidocs.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
publish-js-apidocs.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
publish-objectivec-apidocs.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
publish-python-apidocs.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00
rust-ci.yml Fix rust compile issues and add GH action to run build validations and tests (#18346) 2023-11-09 04:26:02 -08:00
skip-doc-change.yml.j2 Update Win_GPU_CI trigger (#13290) 2022-10-12 15:22:42 +08:00
stale.yml Update stale.yml (#18304) 2023-11-08 11:56:35 -08:00
windows.yml Bump actions/checkout from 3 to 4 (#17487) 2023-09-13 09:22:21 -07:00