Skip to content

Commit 775ae5e

Browse files
authored
Merge pull request #1599 from rust-lang/fix_freebsd_ci
Fix FreeBSD CI
2 parents 160c109 + 099e5d2 commit 775ae5e

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

.cirrus.yml

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
1-
# FIXME re-enable once https://github.com/rust-lang/rust/issues/134863 is fixed.
2-
# task:
3-
# name: freebsd
4-
# freebsd_instance:
5-
# image: freebsd-13-2-release-amd64
6-
# setup_rust_script:
7-
# - pkg install -y git-tiny binutils
8-
# - curl https://sh.rustup.rs -sSf --output rustup.sh
9-
# - sh rustup.sh --default-toolchain none -y --profile=minimal
10-
# target_cache:
11-
# folder: build/cg_clif
12-
# prepare_script:
13-
# - . $HOME/.cargo/env
14-
# - ./y.sh prepare
15-
# test_script:
16-
# - . $HOME/.cargo/env
17-
# # Disabling incr comp reduces cache size and incr comp doesn't save as much
18-
# # on CI anyway.
19-
# - export CARGO_BUILD_INCREMENTAL=false
20-
# # Skip rand as it fails on FreeBSD due to rust-random/rand#1355
21-
# - ./y.sh test --skip-test test.rust-random/rand
1+
task:
2+
name: freebsd
3+
freebsd_instance:
4+
image_family: freebsd-14-2
5+
setup_rust_script:
6+
- pkg install -y git-tiny binutils
7+
- curl https://sh.rustup.rs -sSf --output rustup.sh
8+
- sh rustup.sh --default-toolchain none -y --profile=minimal
9+
target_cache:
10+
folder: build/cg_clif
11+
prepare_script:
12+
- . $HOME/.cargo/env
13+
- ./y.sh prepare
14+
test_script:
15+
- . $HOME/.cargo/env
16+
# Disabling incr comp reduces cache size and incr comp doesn't save as much
17+
# on CI anyway.
18+
- export CARGO_BUILD_INCREMENTAL=false
19+
# FIXME(rust-lang/rust#134863) necessary to avoid error when dlopening proc
20+
# macros during compilation of cg_clif.
21+
- export LD_STATIC_TLS_EXTRA=4096
22+
# Skip rand as it fails on FreeBSD due to rust-random/rand#1355
23+
- ./y.sh test --skip-test test.rust-random/rand

0 commit comments

Comments
 (0)