2024-05-02 12:26:40 +00:00
|
|
|
# SPDX-License-Identifier: 0BSD
|
|
|
|
|
2024-04-13 22:16:08 +00:00
|
|
|
name: OpenBSD
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
OpenBSD-test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Test xz on OpenBSD
|
|
|
|
steps:
|
2024-06-03 05:16:23 +00:00
|
|
|
- uses: actions/checkout@v4.1.6
|
2024-04-13 22:16:08 +00:00
|
|
|
- name: Test in OpenBSD
|
|
|
|
id: test
|
2024-10-02 02:04:03 +00:00
|
|
|
uses: vmactions/OpenBSD-vm@ebafa4eac4adf5e7d04e5bbb4aa764b75dd160df #v1.1.2
|
2024-04-13 22:16:08 +00:00
|
|
|
with:
|
|
|
|
usesh: true
|
|
|
|
prepare: |
|
|
|
|
/usr/sbin/pkg_add -I -v autoconf-2.71 automake-1.16.5 gmake gettext-tools gtar libtool m4
|
|
|
|
run: |
|
2024-04-30 13:49:26 +00:00
|
|
|
set -e
|
2024-04-13 22:16:08 +00:00
|
|
|
export LC_ALL=C LANG=C
|
|
|
|
export AUTOCONF_VERSION=2.71
|
|
|
|
export AUTOMAKE_VERSION=1.16
|
|
|
|
uname -a
|
2024-06-03 01:49:40 +00:00
|
|
|
# OpenBSD ports lack po4a
|
|
|
|
./autogen.sh --no-po4a
|
2024-04-13 22:16:08 +00:00
|
|
|
./configure --enable-werror
|
|
|
|
make
|
|
|
|
make check VERBOSE=1
|