cloud-hypervisor/.github/workflows
Philipp Schuster 0be7d1bd82 ci: replace cargo rustc -> cargo build to support virtual manifests
`cargo rustc` is incompatible with virtual manifests, so the CI needs to
 use cargo build instead. However, passing `RUSTFLAGS="-D warnings"` via
 the environment would propagate to all dependencies, and some of them
 currently fail to build under ``-D warnings` due to issues like [0]:

```
error: creating a mutable reference to mutable static
  --> src/temp.rs:97:5
   |
97 |     DIRS.pop()
   |     ^^^^^^^^^^ mutable reference to mutable static
```

To resolve this, apply ``-D warnings` only to the `cargo clippy`
commands (which apply to our workspace only) and avoid enforcing it for
the entire cargo build.

[0]: https://github.com/cloud-hypervisor/cloud-hypervisor/actions/runs/19962283528/job/57245376263?pr=7525

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
2025-12-09 16:13:10 +00:00
..
audit.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
build.yaml ci: replace cargo rustc -> cargo build to support virtual manifests 2025-12-09 16:13:10 +00:00
dco.yaml ci: dco: rename misleading job title 2025-12-05 12:54:25 +00:00
docker-image.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
formatting.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
fuzz-build.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
gitlint.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
hadolint.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
integration-arm64.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
integration-metrics.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
integration-rate-limiter.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
integration-vfio.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
integration-windows.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
integration-x86-64.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
lychee.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
mshv-infra.yaml ci: dump kernel logs in MSHV workflow 2025-11-08 16:06:15 +00:00
mshv-integration.yaml ci: dump kernel logs in MSHV workflow 2025-11-08 16:06:15 +00:00
openapi.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
package-consistency.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
preview-riscv64-build.yaml ci: replace cargo rustc -> cargo build to support virtual manifests 2025-12-09 16:13:10 +00:00
preview-riscv64-modules.yaml ci: replace cargo rustc -> cargo build to support virtual manifests 2025-12-09 16:13:10 +00:00
quality.yaml build: Bump crate-ci/typos from 1.39.2 to 1.40.0 2025-11-27 00:07:30 +00:00
release.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
reuse.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
shlint.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00
taplo.yaml build: Bump actions/checkout from 5 to 6 2025-11-22 00:05:53 +00:00