1
0
mirror of https://git.tukaani.org/xz.git synced 2025-04-20 06:30:50 +00:00

CI: Update OpenBSD

Use --disable-nls --enable-external-sha256 because those are used
in the xz Makefile in the OpenBSD ports tree.
This commit is contained in:
Lasse Collin 2025-04-17 20:36:33 +03:00
parent 5240fcfee3
commit cfcaae1945
No known key found for this signature in database
GPG Key ID: 38EE757D69184620

View File

@ -9,27 +9,31 @@ on:
branches: [ master ] branches: [ master ]
workflow_dispatch: workflow_dispatch:
permissions: {}
jobs: jobs:
OpenBSD-test: OpenBSD:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Test xz on OpenBSD name: OpenBSD
steps: steps:
- uses: actions/checkout@v4.1.6 - uses: actions/checkout@v4
- name: Test in OpenBSD
id: test - name: Test in OpenBSD
uses: vmactions/OpenBSD-vm@ebafa4eac4adf5e7d04e5bbb4aa764b75dd160df #v1.1.2 uses: vmactions/openbsd-vm@284abc8fb4cd88f69946a0d4c27c4eecd82fdde9 #v1.1.7
with: with:
usesh: true usesh: true
prepare: | prepare: >
/usr/sbin/pkg_add -I -v autoconf-2.71 automake-1.16.5 gmake gettext-tools gtar libtool m4 /usr/sbin/pkg_add -I -v
run: | autoconf-2.72p0
set -e automake-1.16.5
export LC_ALL=C LANG=C gettext-tools
export AUTOCONF_VERSION=2.71 libtool
export AUTOMAKE_VERSION=1.16 m4
uname -a run: |
# OpenBSD ports lack po4a set -e
./autogen.sh --no-po4a export AUTOCONF_VERSION=2.72
./configure --enable-werror export AUTOMAKE_VERSION=1.16
make uname -a
make check VERBOSE=1 ./autogen.sh --no-po4a
./configure --disable-static --enable-debug --enable-werror --disable-nls --enable-external-sha256
make -j4 check