cloud-hypervisor/.github/workflows
Henry Wang 1ff0191b30 github,Cargo.toml: Strip release binaries using toolchain
From Rust 1.59, the cargo command is now able to strip a binary [1].
This can be enabled in Cargo.toml by adding a `strip = "true"` to
the `[profile.release]` section.

Adding such binary stripping support in Cargo.toml of the project,
also change the stripping process in the release workflow to the one
using toolchain, so that the AArch64 release binaries can also
be stripped.

Fixes: https://github.com/cloud-hypervisor/cloud-hypervisor/issues/4916

[1] https://doc.rust-lang.org/beta/cargo/reference/profiles.html#strip

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
2022-11-21 13:39:29 +00:00
..
audit.yaml build: Run cargo-audit from a GitHub action 2020-08-13 16:09:24 +02:00
build.yaml github: do not allow undocumented unsafe blocks 2022-11-18 12:50:01 +00:00
dco.yaml build: Exclude dependabot from DCO check workflow 2021-10-21 10:57:09 +02:00
docker-image.yaml github: Use tag derived from date for docker image 2022-02-18 11:45:40 +00:00
fuzz-build.yaml build: Temporarily use git version of cargo-fuzz in GH action 2021-09-27 17:08:43 +08:00
quality.yaml github: do not allow undocumented unsafe blocks 2022-11-18 12:50:01 +00:00
release.yaml github,Cargo.toml: Strip release binaries using toolchain 2022-11-21 13:39:29 +00:00