Skip to content

Commit

Permalink
Add github workflow running OpenBSD VM.
Browse files Browse the repository at this point in the history
https://github.com/cross-platform-actions/action provides OpenBSD
virtual machine running on top of Mac OS within xhyve.  Build
pfresolved and run tests on this VM as github runner.
  • Loading branch information
bluhm authored and CaBeckmann committed Nov 3, 2023
1 parent 69f381d commit 52873f4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on: [push]

jobs:
test:
runs-on: macos-12
steps:
- uses: actions/checkout@v3

- name: OpenBSD Virtual Machine
uses: cross-platform-actions/[email protected]
with:
operating_system: openbsd
version: '7.4'
hypervisor: xhyve
run: |
uname -a
echo $SHELL
pwd
ls -lah
whoami
env | sort
echo == depend ==
sudo pkg_add libunbound
sudo useradd -m _pfresolved
echo == build ==
make all
echo == test ==
REGRESS_FAIL_EARLY=no SUDO=sudo make test 2>&1 | tee make.log
tail -n100 regress/pfresolved.log
! grep -B1 FAILED make.log

0 comments on commit 52873f4

Please sign in to comment.