File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : FreeBSD
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ permissions :
8+ contents : read
9+
10+ jobs :
11+ freebsd :
12+ name : freebsd
13+ runs-on : ubuntu-latest
14+ timeout-minutes : 60
15+
16+ steps :
17+ - uses : actions/checkout@v7
18+
19+ - name : Test in FreeBSD
20+ uses : vmactions/freebsd-vm@v1
21+ with :
22+ usesh : true
23+ cache-after-prepare : true
24+ prepare : |
25+ pkg install -y curl git-tiny binutils
26+ curl https://sh.rustup.rs -sSf --output rustup.sh
27+ sh rustup.sh --default-toolchain none -y --profile=minimal
28+ run : |
29+ set -e
30+ . $HOME/.cargo/env
31+
32+ ./y.sh prepare
33+
34+ # Disabling incr comp reduces cache size and incr comp doesn't save
35+ # as much on CI anyway.
36+ export CARGO_BUILD_INCREMENTAL=false
37+ # FIXME(rust-lang/rust#134863) necessary to avoid error when
38+ # dlopening proc macros during compilation of cg_clif.
39+ export LD_STATIC_TLS_EXTRA=4096
40+ # Skip rand as it fails on FreeBSD due to rust-random/rand#1355
41+ ./y.sh test --skip-test test.rust-random/rand
You can’t perform that action at this time.
0 commit comments