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/crosssudo-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 committed Nov 2, 2023
1 parent f0a3ec6 commit 8143f49
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
echo == obj ==
make obj
echo == build ==
make all
echo == test ==
SUDO=sudo make test
tail -n100 obj/pfresolved.log

0 comments on commit 8143f49

Please sign in to comment.