ci: actually fail on FreeBSD
[xz/debian.git] / .github / workflows / freebsd.yml
blob6fb7e60dd90bf28716397ddf45c80e5470b1148b
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           set -e
27           export LC_ALL=C LANG=C
28           uname -a
29           ./autogen.sh
30           ./configure --enable-werror
31           make
32           make check VERBOSE=1