]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
CI: Add DragonflyBSD
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 17 Apr 2025 17:36:33 +0000 (20:36 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 17 Apr 2025 17:38:20 +0000 (20:38 +0300)
.github/workflows/dragonflybsd.yml [new file with mode: 0644]

diff --git a/.github/workflows/dragonflybsd.yml b/.github/workflows/dragonflybsd.yml
new file mode 100644 (file)
index 0000000..dbf4e90
--- /dev/null
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: 0BSD
+
+name: DragonflyBSD
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+  workflow_dispatch:
+
+permissions: {}
+
+jobs:
+  DragonflyBSD:
+    runs-on: ubuntu-latest
+    name: DragonflyBSD
+    steps:
+      - uses: actions/checkout@v4
+
+      - name: Test in DragonflyBSD
+        id: test
+        uses: vmactions/dragonflybsd-vm@e3c420e8a2362c2496fca6e76a291abd46f5d8e7 #v1.1.0
+        with:
+          usesh: true
+          prepare: >
+            pkg install -y
+            autoconf
+            automake
+            gettext-tools
+            libtool
+            m4
+          run: |
+            set -e
+            uname -a
+            ./autogen.sh --no-po4a
+            # Innocent putc() triggers strict-overflow warnings.
+            ./configure --disable-static --enable-debug --enable-werror CFLAGS='-g -O2 -pipe -Wno-error=strict-overflow'
+            make -j4 check