mirror of
https://git.tukaani.org/xz.git
synced 2025-12-24 06:18:44 +00:00
There's no real value in doing it via commit for official GH actions. We can keep using pinned commits for unofficial actions. It's hassle for no gain. Maybe going forward we can limit this further by only being paranoid for the jobs with any access to tokens.
36 lines
864 B
YAML
36 lines
864 B
YAML
# SPDX-License-Identifier: 0BSD
|
|
|
|
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:
|
|
- uses: actions/checkout@v4.1.6
|
|
- name: Test in OpenBSD
|
|
id: test
|
|
uses: vmactions/OpenBSD-vm@eaa3d3f695a5a52971c23958f6dd4cd3397f959d #v1.0.8
|
|
with:
|
|
usesh: true
|
|
prepare: |
|
|
/usr/sbin/pkg_add -I -v autoconf-2.71 automake-1.16.5 gmake gettext-tools gtar libtool m4
|
|
run: |
|
|
set -e
|
|
export LC_ALL=C LANG=C
|
|
export AUTOCONF_VERSION=2.71
|
|
export AUTOMAKE_VERSION=1.16
|
|
uname -a
|
|
# OpenBSD ports lack po4a
|
|
./autogen.sh --no-po4a
|
|
./configure --enable-werror
|
|
make
|
|
make check VERBOSE=1
|