aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-06-01 11:56:54 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-06-01 15:27:11 +0200
commit0de29313dd9309a782b558056d7f37cdd358556a (patch)
tree21433fabfb8da57037b43a644eb2ce41e6e4c586 /.cirrus.yml
parentcompat: account for lack of CSUM_SND_TAG on ≤12.2 (diff)
downloadwireguard-freebsd-0de29313dd9309a782b558056d7f37cdd358556a.tar.xz
wireguard-freebsd-0de29313dd9309a782b558056d7f37cdd358556a.zip
ci: test on 12.1 and 12.2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml21
1 files changed, 8 insertions, 13 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index bcca434..47f05d5 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,24 +1,19 @@
freebsd_task:
timeout_in: 120m
install_script:
- - ASSUME_ALWAYS_YES=yes pkg bootstrap -f ; pkg install -y bash iperf3 wireguard-tools
- - fetch https://download.freebsd.org/ftp/releases/$(uname -m)/$(uname -r)/src.txz
- - tar -C / -x -f src.txz
+ - ASSUME_ALWAYS_YES=yes pkg bootstrap -f && pkg install -y bash iperf3 wireguard-tools
build_script:
- make -j $(sysctl -n hw.ncpu) -C src DEBUG_FLAGS=-DSELFTESTS
test_script:
- kldload src/if_wg.ko
- tests/netns.sh
matrix:
- # bash fails on 11 and 12 with undefined symbols (e.g.
- # "rl_executing_keyseq" referenced from COPY relocation in
- # /usr/local/bin/bash) so skip for now.
- #- name: freebsd11-amd64
- # freebsd_instance:
- # image: freebsd-11-2-release-amd64
- #- name: freebsd12-amd64
- # freebsd_instance:
- # image: freebsd-12-0-release-amd64
- - name: freebsd13-amd64
+ - name: freebsd12-1-amd64
+ freebsd_instance:
+ image: freebsd-12-1-release-amd64
+ - name: freebsd12-2-amd64
+ freebsd_instance:
+ image: freebsd-12-2-release-amd64
+ - name: freebsd13-0-amd64
freebsd_instance:
image: freebsd-13-0-release-amd64