summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-22 00:53:01 +0800
committerruki <[email protected]>2022-10-22 00:53:01 +0800
commitb2d842ab8de497bc5c0949d013adbc03e047e3d9 (patch)
tree27805c20386544af4b2ae8f5e5c6634e7ddc80dd /.github/workflows
parent4feb80d5e55b32b2fe4a7fe060c19636b4e10ce7 (diff)
add openbsd ci
Diffstat (limited to '.github/workflows')
-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
+
+