File tree 1 file changed +16
-5
lines changed
1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 1
1
task :
2
2
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
3
6
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
5
11
freebsd_instance :
6
12
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
8
17
freebsd_instance :
9
18
image : freebsd-14-1-release-amd64-ufs
10
- - name : nightly freebsd-15
19
+ - name : nightly freebsd-15 x86_64
11
20
freebsd_instance :
12
21
image_family : freebsd-15-0-snap
13
22
setup_script :
14
23
- pkg install -y libnghttp2 curl
15
24
- curl https://sh.rustup.rs -sSf --output rustup.sh
16
25
- 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
17
28
test_script :
18
29
- . $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
You can’t perform that action at this time.
0 commit comments