Skip to content

Commit 0ef7dda

Browse files
committed
1 parent 0d40669 commit 0ef7dda

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.cirrus.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,20 @@ task:
2121
- mkdir ${WD}
2222
- cd ${WD} && fetch -q ${ARCHIVES_BASE}/src.txz
2323
- tar xf ${WD}/src.txz -C / && rm ${WD}/src.txz
24+
- fetch -o - https://github.com/freebsd/freebsd-src/pull/1859.patch |
25+
patch -d /usr/src -p1
26+
- make -C /usr/src/lib/libfetch all install
27+
- make -C /usr/src/usr.bin/fetch all install
2428
build_script:
2529
- make -j${CIRRUS_CPU}
2630
- make install
2731
manlint_script:
2832
- makewhatis /usr/share/man
2933
# XXX: too many xrefs to manpages that don't exist in previous releases
3034
- test $(freebsd-version) '!=' 15.0-ALPHA4 || make manlint
31-
# TODO: tests
35+
test_libfetch_setup_script:
36+
- pkg install -y socat
37+
test_server_background_script:
38+
- libfetch/test-server.sh
39+
libfetch_test_script:
40+
- /usr/libexec/flua libfetch/test.lua

0 commit comments

Comments
 (0)