1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Pin the cross version in the ci (Closes: #3683)

This commit is contained in:
Sylvestre Ledru 2022-06-29 14:11:37 +02:00
parent 6be25eee26
commit c2d1d061ef

View file

@ -645,6 +645,7 @@ jobs:
outputs CARGO_USE_CROSS
# ** pass needed environment into `cross` container (iff `cross` not already configured via "Cross.toml")
if [ -n "${CARGO_USE_CROSS}" ] && [ ! -e "Cross.toml" ] ; then
cargo install --version 0.2.1 cross
printf "[build.env]\npassthrough = [\"CI\"]\n" > Cross.toml
fi
# * test only library and/or binaries for arm-type targets