]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: enable monthly build only test on netbsd-9.3
authorIlya Shipitsin <chipitsine@gmail.com>
Mon, 19 Feb 2024 21:14:59 +0000 (22:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Mar 2024 10:50:34 +0000 (11:50 +0100)
it is interesting to try https://github.com/vmactions/netbsd-vm actions

.github/workflows/netbsd.yml [new file with mode: 0644]

diff --git a/.github/workflows/netbsd.yml b/.github/workflows/netbsd.yml
new file mode 100644 (file)
index 0000000..e34fe76
--- /dev/null
@@ -0,0 +1,22 @@
+name: NetBSD
+
+on:
+  schedule:
+    - cron: "0 0 25 * *"
+
+jobs:
+  gcc:
+    runs-on: ubuntu-latest
+    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 pcre2
+          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