mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Merge pull request rust-lang/rustc_codegen_cranelift#1599 from rust-lang/fix_freebsd_ci
Fix FreeBSD CI
This commit is contained in:
+23
-21
@@ -1,21 +1,23 @@
|
||||
# FIXME re-enable once https://github.com/rust-lang/rust/issues/134863 is fixed.
|
||||
# task:
|
||||
# name: freebsd
|
||||
# freebsd_instance:
|
||||
# image: freebsd-13-2-release-amd64
|
||||
# setup_rust_script:
|
||||
# - pkg install -y git-tiny binutils
|
||||
# - curl https://sh.rustup.rs -sSf --output rustup.sh
|
||||
# - sh rustup.sh --default-toolchain none -y --profile=minimal
|
||||
# target_cache:
|
||||
# folder: build/cg_clif
|
||||
# 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
|
||||
# # Skip rand as it fails on FreeBSD due to rust-random/rand#1355
|
||||
# - ./y.sh test --skip-test test.rust-random/rand
|
||||
task:
|
||||
name: freebsd
|
||||
freebsd_instance:
|
||||
image_family: freebsd-14-2
|
||||
setup_rust_script:
|
||||
- pkg install -y git-tiny binutils
|
||||
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
||||
- sh rustup.sh --default-toolchain none -y --profile=minimal
|
||||
target_cache:
|
||||
folder: build/cg_clif
|
||||
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
|
||||
# FIXME(rust-lang/rust#134863) necessary to avoid error when dlopening proc
|
||||
# macros during compilation of cg_clif.
|
||||
- export LD_STATIC_TLS_EXTRA=4096
|
||||
# Skip rand as it fails on FreeBSD due to rust-random/rand#1355
|
||||
- ./y.sh test --skip-test test.rust-random/rand
|
||||
|
||||
Reference in New Issue
Block a user