2021-03-05 12:12:59 -06:00
|
|
|
task:
|
|
|
|
name: freebsd
|
|
|
|
freebsd_instance:
|
2023-06-15 12:56:01 -05:00
|
|
|
image: freebsd-13-2-release-amd64
|
2021-03-05 12:12:59 -06:00
|
|
|
setup_rust_script:
|
2023-10-21 14:54:51 -05:00
|
|
|
- pkg install -y git bash binutils
|
2021-03-05 12:12:59 -06:00
|
|
|
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
|
|
|
- sh rustup.sh --default-toolchain none -y --profile=minimal
|
|
|
|
target_cache:
|
2024-04-11 05:42:48 -05:00
|
|
|
folder: build/cg_clif
|
2021-03-05 12:12:59 -06:00
|
|
|
prepare_script:
|
|
|
|
- . $HOME/.cargo/env
|
2023-06-15 12:56:01 -05:00
|
|
|
- ./y.sh prepare
|
2021-03-05 12:12:59 -06:00
|
|
|
test_script:
|
|
|
|
- . $HOME/.cargo/env
|
2024-04-05 11:20:23 -05:00
|
|
|
# Disabling incr comp reduces cache size and incr comp doesn't save as much
|
|
|
|
# on CI anyway.
|
|
|
|
- export CARGO_BUILD_INCREMENTAL=false
|
2024-04-11 05:42:48 -05:00
|
|
|
# Skip rand as it fails on FreeBSD due to rust-random/rand#1355
|
|
|
|
- ./y.sh test --skip-test test.rust-random/rand
|