1
0
mirror of https://git.tukaani.org/xz.git synced 2026-10-31 03:14:56 +00:00
xz/.github/workflows/openbsd.yml
Lasse Collin 88ae12f787
CI: Use 'contents: read' after all
If someone makes a private fork, then it will work there too.

Thanks-to: Eli Schwartz
2026-06-21 20:53:43 +03:00

42 lines
945 B
YAML

# SPDX-License-Identifier: 0BSD
name: OpenBSD
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
permissions:
contents: read
jobs:
OpenBSD:
runs-on: ubuntu-latest
timeout-minutes: 10
name: OpenBSD
steps:
- uses: actions/checkout@v6
- name: Test in OpenBSD
uses: vmactions/openbsd-vm@3fafb45f2e2e696249c583835939323fe1c3448c #v1.3.7
with:
usesh: true
prepare: >
/usr/sbin/pkg_add -I -v
autoconf-2.72p0
automake-1.17
gettext-tools
libtool
m4
run: |
set -e
export AUTOCONF_VERSION=2.72
export AUTOMAKE_VERSION=1.17
uname -a
./autogen.sh --no-po4a
./configure --disable-static --enable-debug --enable-werror --disable-nls --enable-external-sha256
make -j4 check