2021-02-14 11:54:00 +00:00
|
|
|
task:
|
|
|
|
name: freebsd
|
|
|
|
freebsd_instance:
|
2023-05-14 10:17:12 +00:00
|
|
|
image: freebsd-13-2-release-amd64
|
2021-02-14 11:54:00 +00:00
|
|
|
setup_rust_script:
|
2024-09-12 19:44:20 +00:00
|
|
|
- pkg install -y git-tiny binutils
|
2021-02-14 11:54:00 +00:00
|
|
|
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
|
|
|
- sh rustup.sh --default-toolchain none -y --profile=minimal
|
|
|
|
target_cache:
|
2024-04-07 16:36:41 +00:00
|
|
|
folder: build/cg_clif
|
2021-02-14 11:54:00 +00:00
|
|
|
prepare_script:
|
|
|
|
- . $HOME/.cargo/env
|
2023-02-15 18:23:11 +00:00
|
|
|
- ./y.sh prepare
|
2021-02-14 11:54:00 +00:00
|
|
|
test_script:
|
|
|
|
- . $HOME/.cargo/env
|
2024-04-05 13:56:21 +00: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-06 14:05:30 +00:00
|
|
|
# Skip rand as it fails on FreeBSD due to rust-random/rand#1355
|
|
|
|
- ./y.sh test --skip-test test.rust-random/rand
|