build: Add GitHub CI support for tests on ports #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NetBSD test | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test dpkg on NetBSD | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in NetBSD | |
id: test | |
uses: vmactions/netbsd-vm@v1 | |
with: | |
usesh: true | |
copyback: false | |
prepare: | | |
/usr/sbin/pkg_add pkgconf libtool autoconf automake gettext gtar gsed gcc13 patch gmake | |
run: | | |
echo "1.22.x" >.dist-version | |
echo "$GITHUB_SHA" >.dist-vcs-id | |
./autogen && ./configure | |
gmake -j4 check TEST_PARALLEL=4 |