summaryrefslogtreecommitdiffstats
path: root/.github/workflows/netbsd.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/netbsd.yml')
-rw-r--r--.github/workflows/netbsd.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/netbsd.yml b/.github/workflows/netbsd.yml
new file mode 100644
index 0000000..6514725
--- /dev/null
+++ b/.github/workflows/netbsd.yml
@@ -0,0 +1,23 @@
+name: NetBSD
+
+on:
+ schedule:
+ - cron: "0 0 25 * *"
+
+jobs:
+ gcc:
+ runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'haproxy' }}
+ permissions:
+ contents: read
+ steps:
+ - name: "Checkout repository"
+ uses: actions/checkout@v4
+
+ - name: "Build on VM"
+ uses: vmactions/netbsd-vm@v1
+ with:
+ prepare: |
+ /usr/sbin/pkg_add gmake curl
+ run: |
+ gmake CC=gcc TARGET=netbsd USE_OPENSSL=1 USE_LUA=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_PROMEX=1 USE_ZLIB=1