Skip to content

Commit c70034d

Browse files
committed
Clone freebsd src in ci
1 parent 5b6eb0c commit c70034d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.cirrus.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ task:
55
- image_family: freebsd-15-0-snap
66
- image_family: freebsd-14-2
77
install_script: pkg install -y bash git autoconf automake libtool groff pkgconf
8+
kernel_src_script: |
9+
uname -r
10+
if [[ $(uname -r) == "14.2-RELEASE" ]]; then
11+
git clone --branch releng/14.2 https://git.FreeBSD.org/src.git /usr/src
12+
else
13+
git clone --branch main https://git.FreeBSD.org/src.git /usr/src
14+
fi;
815
build_script:
916
- ./Configure -n freebsd
1017
- make

0 commit comments

Comments
 (0)