2024-05-02 12:26:40 +00:00
|
|
|
# SPDX-License-Identifier: 0BSD
|
|
|
|
|
2024-04-13 22:49:26 +00:00
|
|
|
name: FreeBSD
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
FreeBSD-test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Test xz on FreeBSD
|
|
|
|
steps:
|
2024-06-03 05:16:23 +00:00
|
|
|
- uses: actions/checkout@v4.1.6
|
2024-04-13 22:49:26 +00:00
|
|
|
- name: Test in FreeBSD
|
|
|
|
id: test
|
2024-10-02 02:04:03 +00:00
|
|
|
uses: vmactions/FreeBSD-vm@d7b8fcc7711aa41ad45e8d9b737cf90f035a7e3d #v1.1.3
|
2024-04-13 22:49:26 +00:00
|
|
|
with:
|
|
|
|
usesh: true
|
|
|
|
prepare: |
|
|
|
|
pkg install -y autoconf automake gmake gettext-tools gtar libtool m4 po4a
|
|
|
|
run: |
|
2024-04-25 21:56:06 +00:00
|
|
|
set -e
|
2024-04-13 22:49:26 +00:00
|
|
|
export LC_ALL=C LANG=C
|
|
|
|
uname -a
|
|
|
|
./autogen.sh
|
|
|
|
./configure --enable-werror
|
|
|
|
make
|
|
|
|
make check VERBOSE=1
|