forked from rust-lang/libc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cirrus.yml
More file actions
35 lines (35 loc) · 1.35 KB
/
.cirrus.yml
File metadata and controls
35 lines (35 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
task:
only_if: $CIRRUS_BRANCH == 'main' || $CIRRUS_BASE_BRANCH == 'libc-0.2' || $CIRRUS_BASE_BRANCH == 'main'
env:
HOME: /tmp # cargo cache needs it
TARGET: x86_64-unknown-freebsd
# FIXME(freebsd): FreeBSD has a segfault when `RUST_BACKTRACE` is set
# https://github.com/rust-lang/rust/issues/132185
RUST_BACKTRACE: "0"
matrix:
# FIXME(#4740): FreeBSD 13 tests are extremely flaky and fail most of the time
# - name: nightly freebsd-13 x86_64
# freebsd_instance:
# image_family: freebsd-13-4
- name: nightly freebsd-15 i686
# Test i686 FreeBSD in 32-bit emulation on a 64-bit host.
env:
TARGET: i686-unknown-freebsd
freebsd_instance:
image: freebsd-15-0-release-amd64-ufs
- name: nightly freebsd-14 x86_64
freebsd_instance:
image: freebsd-14-3-release-amd64-ufs
- name: nightly freebsd-15 x86_64
freebsd_instance:
image: freebsd-15-0-release-amd64-ufs
setup_script:
- pkg install -y libnghttp2 curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --default-toolchain nightly --profile=minimal
- . $HOME/.cargo/env
- if [ "$TARGET" = "i686-unknown-freebsd" ]; then rustup target add i686-unknown-freebsd; fi
test_script:
- . $HOME/.cargo/env
- LIBC_CI=1 sh ci/run.sh $TARGET
- sh ci/run.sh $TARGET