Skip to content

Commit 079dfa8

Browse files
committed
Add FreeBSD build and test using Cirrus-CI
Cirrus-CI is a hosted CI service that supports FreeBSD, Linux, macOS, and Winodws. Add a .cirrus.yml to provide CI coverage on pull requests for FreeBSD 12.4 and 13.2.
1 parent 6f8411c commit 079dfa8

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.cirrus.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
freebsd_task:
2+
freebsd_instance:
3+
matrix:
4+
- image: freebsd-13-2-release-amd64
5+
# Turn off TCP and UDP blackhole. It is not enabled by default in FreeBSD,
6+
# but it is in the FreeBSD GCE images as used by Cirrus-CI. It causes even
7+
# local local connections to fail with ETIMEDOUT instead of ECONNREFUSED.
8+
# For more information see https://reviews.freebsd.org/D41751 and
9+
# https://github.com/cirruslabs/cirrus-ci-docs/issues/483.
10+
sysctl_script:
11+
- sysctl net.inet.tcp.blackhole=0
12+
- sysctl net.inet.udp.blackhole=0
13+
build_script:
14+
- mkdir build
15+
- cd build
16+
- ../configure
17+
- make -j$(sysctl -n hw.ncpu)
18+
pythoninfo_script:
19+
- cd build && make pythoninfo
20+
test_script:
21+
- cd build
22+
# dtrace fails to build on FreeBSD - see gh-73263
23+
- make buildbottest TESTOPTS="-j0 -x test_dtrace"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FreeBSD 13.2 CI coverage for pull requests is now provided by Cirrus-CI (a hosted CI service that supports Linux, macOS, Windows, and FreeBSD).

0 commit comments

Comments
 (0)