Skip to content

Commit d3f2c14

Browse files
authored
Merge pull request #3997 from asomers/i686-unknown-freebsd-ci
Add i686-unknown-freebsd to CI
2 parents e4c7acc + ce0a306 commit d3f2c14

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.cirrus.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,31 @@
11
task:
22
only_if: $CIRRUS_BRANCH == 'main' || $CIRRUS_BASE_BRANCH == 'libc-0.2' || $CIRRUS_BASE_BRANCH == 'main'
3+
env:
4+
HOME: /tmp # cargo cache needs it
5+
TARGET: x86_64-unknown-freebsd
36
matrix:
4-
- name: nightly freebsd-13
7+
- name: nightly freebsd-13 i686
8+
# Test i686 FreeBSD in 32-bit emulation on a 64-bit host.
9+
env:
10+
TARGET: i686-unknown-freebsd
511
freebsd_instance:
612
image_family: freebsd-13-3
7-
- name: nightly freebsd-14
13+
- name: nightly freebsd-13 x86_64
14+
freebsd_instance:
15+
image_family: freebsd-13-3
16+
- name: nightly freebsd-14 x86_64
817
freebsd_instance:
918
image: freebsd-14-1-release-amd64-ufs
10-
- name: nightly freebsd-15
19+
- name: nightly freebsd-15 x86_64
1120
freebsd_instance:
1221
image_family: freebsd-15-0-snap
1322
setup_script:
1423
- pkg install -y libnghttp2 curl
1524
- curl https://sh.rustup.rs -sSf --output rustup.sh
1625
- sh rustup.sh -y --default-toolchain nightly --profile=minimal
26+
- . $HOME/.cargo/env
27+
- if [ "$TARGET" = "i686-unknown-freebsd" ]; then rustup target add i686-unknown-freebsd; fi
1728
test_script:
1829
- . $HOME/.cargo/env
19-
- LIBC_CI=1 sh ci/run.sh x86_64-unknown-freebsd
20-
- sh ci/run.sh x86_64-unknown-freebsd
30+
- LIBC_CI=1 sh ci/run.sh $TARGET
31+
- sh ci/run.sh $TARGET

0 commit comments

Comments
 (0)