2021-05-22 07:40:35 +00:00
|
|
|
env:
|
|
|
|
# Temporary workaround for error `error: sysinfo not supported on
|
|
|
|
# this platform` seen on FreeBSD platforms, affecting Rustup
|
|
|
|
#
|
|
|
|
# References: https://github.com/rust-lang/rustup/issues/2774
|
|
|
|
RUSTUP_IO_THREADS: 1
|
|
|
|
|
2019-04-28 02:14:22 +00:00
|
|
|
task:
|
2020-04-07 22:30:22 +00:00
|
|
|
name: stable x86_64-unknown-freebsd-12
|
|
|
|
freebsd_instance:
|
2021-05-22 09:05:55 +00:00
|
|
|
image: freebsd-12-2-release-amd64
|
2019-04-28 02:14:22 +00:00
|
|
|
setup_script:
|
2019-04-28 07:56:18 +00:00
|
|
|
- pkg install -y curl gmake
|
2019-04-28 02:14:22 +00:00
|
|
|
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
2020-04-07 22:30:22 +00:00
|
|
|
- sh rustup.sh -y --profile=minimal
|
2019-04-28 02:14:22 +00:00
|
|
|
build_script:
|
|
|
|
- . $HOME/.cargo/env
|
|
|
|
- cargo build
|
|
|
|
test_script:
|
|
|
|
- . $HOME/.cargo/env
|
2021-04-05 15:27:26 +00:00
|
|
|
- cargo test -p uucore -p coreutils
|