ci: test on 12.1 and 12.2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
b4a0f872e6
commit
0de29313dd
21
.cirrus.yml
21
.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
|
||||
|
|
10
README.md
10
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 & 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
|
||||
|
|
Loading…
Reference in New Issue