bevy/.github/workflows
Zachary Harrold aa5e93d0bf
Add compile-check-no-std Command to CI Tool (#15843)
# Objective

- Fixes #15840

## Solution

Added a new subcommand to the CI tool, `compile-check-no-std`, which
will attempt to compile each `no_std` crate in Bevy with the appropriate
features (no-defaults, `libm`, etc.) for `x86_64-unknown-none`. The
exact target chosen could be changed to any reasonable platform which
does not include the `std` library.

The currently tested crates are:

- `bevy_ptr`
- `bevy_utils`
- `bevy_mikktspace`

As more crates have `no_std` support added, they _should_ be added to
this CI command. Once Bevy itself can be `no_std`, the individual checks
can be replaced with just checking Bevy, since it will transiently check
all other crates as appropriate.

## Testing

- Ran CI. From a clean target directory (`cargo clean`), these new
checks take approximately 10 seconds total.

---------

Co-authored-by: François Mockers <francois.mockers@vleue.com>
2024-10-11 10:54:44 +00:00
..
action-on-PR-labeled.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00
ci-comment-failures.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00
ci.yml Add compile-check-no-std Command to CI Tool (#15843) 2024-10-11 10:54:44 +00:00
daily.yml Bump actions/setup-java from 3 to 4 (#15695) 2024-10-07 07:30:37 +00:00
dependencies.yml add cancel in progress support to automated CI checks (#11130) 2024-02-28 16:07:29 +00:00
docs.yml Document private items in dev-docs (#14769) 2024-08-15 20:57:49 +00:00
post-release.yml Bump peter-evans/create-pull-request from 6 to 7 (#15112) 2024-09-09 17:35:40 +00:00
release.yml Bump peter-evans/create-pull-request from 6 to 7 (#15112) 2024-09-09 17:35:40 +00:00
validation-jobs.yml Bump actions/setup-java from 3 to 4 (#15695) 2024-10-07 07:30:37 +00:00
weekly.yml Remove unused nightly toolchain environmental variable (#13037) 2024-04-19 21:17:38 +00:00
welcome.yml Fix Welcome Contributors CI (#15123) 2024-09-09 17:52:11 +00:00