Add SPDX license identifiers to files under tests/ossfuzz
[xz/debian.git] / .github / workflows / freebsd.yml
blob69643cf278c01e468f6a0aeecf057603c4aa3f18
1 # SPDX-License-Identifier: 0BSD
3 name: FreeBSD
5 on:
6   push:
7     branches: [ master ]
8   pull_request:
9     branches: [ master ]
10   workflow_dispatch:
12 jobs:
13   FreeBSD-test:
14     runs-on: ubuntu-latest
15     name: Test xz on FreeBSD
16     steps:
17     - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 #v4
18     - name: Test in FreeBSD
19       id: test
20       uses: vmactions/FreeBSD-vm@f8be330398166d1eb0601f01353839d4052367b2 #v1.0.7
21       with:
22         usesh: true
23         prepare: |
24          pkg install -y autoconf automake gmake gettext-tools gtar libtool m4 po4a
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