summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/openbsd.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/openbsd.yml b/.github/workflows/openbsd.yml
new file mode 100644
index 000000000..0ab7743ad
--- /dev/null
+++ b/.github/workflows/openbsd.yml
@@ -0,0 +1,37 @@
+name: OpenBSD
+
+on:
+ pull_request:
+ push:
+ release:
+ types: [published]
+
+jobs:
+ build:
+
+ runs-on: macos-12
+
+ concurrency:
+ group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-OpenBSD
+ cancel-in-progress: true
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: true
+
+ - name: Tests
+ uses: vmactions/openbsd-vm@v0
+ with:
+ usesh: true
+ mem: 4096
+ copyback: false
+ prepare: pkg install -y curl unzip gmake llvm gsed bash perl5
+ run: |
+ gmake -j4
+ gmake install
+ export XMAKE_ROOT=y
+ xrepo --version
+ xmake l os.meminfo
+ xmake lua -v -D tests/run.lua
+
+