name: OpenBSD on: push: branches: [ "arping-2.x", "ci" ] pull_request: branches: [ "arping-2.x" ] jobs: test: runs-on: ubuntu-latest name: Build on OpenBSD steps: - uses: actions/checkout@v6 - name: Test in OpenBSD id: test uses: vmactions/openbsd-vm@v1 with: usesh: true prepare: | pkg_info -Q autoconf | grep ^autoconf-[0-9] | sort -V | tail -1 | xargs pkg_add -v pkg_info -Q libnet | grep ^libnet-[0-9] | sort -V | tail -1 | xargs pkg_add -v pkg_info -Q automake | grep ^automake-[0-9] | sort -V | tail -1 | xargs pkg_add -v run: | tree /home/runner/work pwd ls -lah whoami env sysctl hw.model sysctl hw.ncpu sysctl hw.physmem sysctl hw.usermem ./bootstrap.sh ./configure LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include/libnet-1.1 make GW="$(route -n show | awk '$1 == "default" { print $2; exit }')" id ./src/arping -c 1 "$GW" ./src/arping -vvvvvvv -c 1 "$GW"