build: Add GitHub CI support for tests on ports #26
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: FreeBSD test | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test dpkg on FreeBSD | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in FreeBSD | |
id: test | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
usesh: true | |
copyback: false | |
prepare: | | |
pkg install -y pkgconf libtool autoconf automake gettext-tools gettext-runtime gtar patch gmake | |
run: | | |
echo "1.22.x" >.dist-version | |
echo "$GITHUB_SHA" >.dist-vcs-id | |
./autogen && ./configure | |
gmake -j4 check TEST_PARALLEL=4 |