build: Add GitHub CI support for tests on ports #18
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: OmniOS (illumos) test | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test dpkg on OmniOS (illumos) | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in OmniOS (illumos) | |
id: test | |
uses: vmactions/omnios-vm@v1 | |
env: | |
MAKE: gmake | |
with: | |
envs: 'MAKE' | |
usesh: true | |
copyback: false | |
prepare: | | |
pkg refresh | |
pkg install pkg-config libtool autoconf automake gnu-gettext gnu-tar gnu-patch gcc13 gnu-make | |
run: | | |
echo "1.22.x" >.dist-version | |
echo "$GITHUB_SHA" >.dist-vcs-id | |
./autogen && ./configure | |
gmake -j4 check TEST_PARALLEL=4 |