1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
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@v4
- name: Test in OpenBSD
id: test
uses: vmactions/openbsd-vm@v1
with:
usesh: true
prepare: |
pkg_info -Q autoconf | sort -V | tail -1 | xargs pkg_add -v
pkg_info -Q libnet | sort -V | tail -1 | xargs pkg_add -v
pkg_info -Q automake | 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
|