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