]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
ci: add NetBSD
authorSam James <sam@gentoo.org>
Sat, 13 Apr 2024 21:30:44 +0000 (22:30 +0100)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 25 Apr 2024 11:08:52 +0000 (14:08 +0300)
.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..2421f53
--- /dev/null
@@ -0,0 +1,29 @@
+name: NetBSD
+
+on:
+  push:
+    branches: [ master ]
+  pull_request:
+    branches: [ master ]
+  workflow_dispatch:
+
+jobs:
+  NetBSD-test:
+    runs-on: ubuntu-latest
+    name: Test xz on NetBSD
+    steps:
+    - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 #v4
+    - name: Test in NetBSD
+      id: test
+      uses: vmactions/NetBSD-vm@da9ed4d7cd0fb64f330e2342ac5c77ba529b6a11 #v1.0.7
+      with:
+        usesh: true
+        prepare: |
+          /usr/sbin/pkg_add -v autoconf automake gmake gettext-tools gtar-base libtool-base m4
+        run: |
+          export LC_ALL=C LANG=C
+          uname -a
+          ./autogen.sh
+          ./configure --enable-werror
+          make
+          make check VERBOSE=1