Skip to content

Commit 82d2291

Browse files
authored
CI: add FreeBSD build with Cirrus CI
As a first step for automatic FreeBSD testing add a build and install for FreeBSD versions 12.4, 13.2 and 14-snapshot using Cirrus CI. Reviewed-by: Jose Luis Duran Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Martin Matuska <[email protected]> Closes openzfs#15332
1 parent 4848a08 commit 82d2291

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.cirrus.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
env:
2+
CIRRUS_CLONE_DEPTH: 1
3+
ARCH: amd64
4+
5+
build_task:
6+
matrix:
7+
freebsd_instance:
8+
image_family: freebsd-12-4
9+
freebsd_instance:
10+
image_family: freebsd-13-2
11+
freebsd_instance:
12+
image_family: freebsd-14-0-snap
13+
prepare_script:
14+
- pkg install -y autoconf automake libtool gettext-runtime gmake ksh93 py39-packaging py39-cffi py39-sysctl
15+
configure_script:
16+
- env MAKE=gmake ./autogen.sh
17+
- env MAKE=gmake ./configure --with-config="user" --with-python=3.9
18+
build_script:
19+
- gmake -j `sysctl -n kern.smp.cpus`
20+
install_script:
21+
- gmake install

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
!udev/**
4343

4444
!.editorconfig
45+
!.cirrus.yml
4546
!.gitignore
4647
!.gitmodules
4748
!AUTHORS
@@ -60,7 +61,6 @@
6061
!TEST
6162
!zfs.release.in
6263

63-
6464
#
6565
# Normal rules
6666
#

0 commit comments

Comments
 (0)