aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--.cirrus.yml21
-rw-r--r--README.md10
2 files changed, 16 insertions, 15 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index bcca434146a2..47f05d5e4006 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
diff --git a/README.md b/README.md
index 6bcb72473f05..273803ffddc8 100644
--- a/README.md
+++ b/README.md
@@ -4,9 +4,15 @@ This is a kernel module for FreeBSD to support [WireGuard](https://www.wireguard
### Installation instructions
-First make sure you have the latest net/wireguard package installed, version ≥1.0.20210315.
+Snapshots of this may be installed from packages:
-Then, on FreeBSD 12 &amp; 13:
+```
+# pkg install wireguard
+```
+
+### Building instructions
+
+If you'd prefer to build this repo from scratch, rather than using a package, first make sure you have the latest net/wireguard-tools package installed, version ≥1.0.20210424. Then, on FreeBSD 12.1, 12.2, and 13.0:
```
# git clone https://git.zx2c4.com/wireguard-freebsd