Skip to content

Add multicast UDP sockets #528

Add multicast UDP sockets

Add multicast UDP sockets #528

Workflow file for this run

name: FreeBSD interop tests
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
jobs:
freebsd_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and run tests on FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
copyback: false
usesh: true
prepare: |
set -ex
env IGNORE_OSVERSION=yes pkg update -f
env IGNORE_OSVERSION=yes pkg install -y gmake gcc check vim autoconf automake libtool git
kldload if_tap || true
sysctl net.link.tap.up_on_open=1 || true
git clone --depth=1 https://github.com/wolfssl/wolfssl --branch nightly-snapshot /tmp/wolfssl
cd /tmp/wolfssl
./autogen.sh
./configure --enable-all --enable-md5
gmake -j$(sysctl -n hw.ncpu)
gmake install
ldconfig
run: |
set -ex
cd "${GITHUB_WORKSPACE:-/root/work/github/workspace}"
gmake build/test-evloop build/test-wolfssl build/test-ttl-expired unit unit-esp
cleanup_taps() {
for ifc in $(ifconfig -l | tr ' ' '\n' | grep '^tap'); do
ifconfig "${ifc}" destroy || true
done
}
cleanup_taps
./build/test/unit
./build/test/unit-esp
cleanup_taps
./build/test-evloop
sleep 2
cleanup_taps
./build/test-wolfssl
cleanup_taps
./build/test-ttl-expired