From 057be6ce64f1751b3ffc0600d3a6a5a7d739bf10 Mon Sep 17 00:00:00 2001
From: Erik Ekman <erik@kryo.se>
Date: Thu, 20 Apr 2023 14:19:10 +0200
Subject: [PATCH] Add openbsd github action

---
 .github/workflows/openbsd.yml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 .github/workflows/openbsd.yml

diff --git a/.github/workflows/openbsd.yml b/.github/workflows/openbsd.yml
new file mode 100644
index 0000000..35f2c63
--- /dev/null
+++ b/.github/workflows/openbsd.yml
@@ -0,0 +1,25 @@
+name: openbsd
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+
+jobs:
+  build:
+    runs-on: macos-12
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: make
+      uses: vmactions/openbsd-vm@v0
+      with:
+        prepare: |
+          pkg_add install -y \
+            check \
+            git \
+            pkgconf
+        run: |
+          make
+          make test