Add SPDX license identifiers to files under tests/ossfuzz
[xz/debian.git] / .github / workflows / netbsd.yml
blob44ef26995c3bf85211f3c4c3c463def879d2ae1a
1 # SPDX-License-Identifier: 0BSD
3 name: NetBSD
5 on:
6   push:
7     branches: [ master ]
8   pull_request:
9     branches: [ master ]
10   workflow_dispatch:
12 jobs:
13   NetBSD-test:
14     runs-on: ubuntu-latest
15     name: Test xz on NetBSD
16     steps:
17     - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 #v4
18     - name: Test in NetBSD
19       id: test
20       uses: vmactions/NetBSD-vm@da9ed4d7cd0fb64f330e2342ac5c77ba529b6a11 #v1.0.7
21       with:
22         usesh: true
23         prepare: |
24           /usr/sbin/pkg_add -v autoconf automake gmake gettext-tools gtar-base libtool-base m4
25         run: |
26           export LC_ALL=C LANG=C
27           uname -a
28           ./autogen.sh
29           ./configure --enable-werror
30           make
31           make check VERBOSE=1