CI: fix "uucore no unix feature" on freeBSD

This commit is contained in:
Miles Liu 2022-11-18 13:23:33 +08:00
parent a446324681
commit b641aa36e6
No known key found for this signature in database
GPG key ID: 4DB9B32F9B24A7A9

View file

@ -948,7 +948,7 @@ jobs:
unset FAULT unset FAULT
cargo build || FAULT=1 cargo build || FAULT=1
if (test -z "\$FAULT"); then cargo test --features '${{ matrix.job.features }}' || FAULT=1 ; fi if (test -z "\$FAULT"); then cargo test --features '${{ matrix.job.features }}' || FAULT=1 ; fi
if (test -z "\$FAULT"); then cargo test --features '${{ matrix.job.features }}' -p uucore || FAULT=1 ; fi if (test -z "\$FAULT"); then cargo test --all-features -p uucore || FAULT=1 ; fi
# Clean to avoid to rsync back the files # Clean to avoid to rsync back the files
cargo clean cargo clean
if (test -n "\$FAULT"); then exit 1 ; fi if (test -n "\$FAULT"); then exit 1 ; fi