mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
20 lines
561 B
YAML
20 lines
561 B
YAML
task:
|
|
name: freebsd
|
|
freebsd_instance:
|
|
image: freebsd-13-2-release-amd64
|
|
setup_rust_script:
|
|
- pkg install -y git bash binutils
|
|
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
|
- sh rustup.sh --default-toolchain none -y --profile=minimal
|
|
target_cache:
|
|
folder: target
|
|
prepare_script:
|
|
- . $HOME/.cargo/env
|
|
- ./y.sh prepare
|
|
test_script:
|
|
- . $HOME/.cargo/env
|
|
# Disabling incr comp reduces cache size and incr comp doesn't save as much
|
|
# on CI anyway.
|
|
- export CARGO_BUILD_INCREMENTAL=false
|
|
- ./y.sh test
|