Skip to content

ci: build and test on Linux and FreeBSD for pull requests - #5

Merged
ahze merged 1 commit into
mainfrom
ci/linux-freebsd-pr-checks
Nov 12, 2026
Merged

ahze merged 1 commit into
mainfrom
ci/linux-freebsd-pr-checks

Conversation

@ahze

@ahze ahze commented Nov 12, 2026

Copy link
Copy Markdown
Member

Upstream checks pull requests through Packit on Fedora, which cannot
build for FreeBSD. Add a GitHub Actions workflow that runs the same
validate, build and unit-test steps on Linux, cross-checks the FreeBSD
target with clippy from Linux, and runs the unit tests in a FreeBSD 15.1
VM so the ioctl and struct-layout tests see the real headers.

The Linux steps mirror make validate and make unit; docs are left out
because they need go-md2man. Protoc comes from the same packages the
release workflow installs.

Signed-off-by: Michael Johnson buhnux@gmail.com

Upstream checks pull requests through Packit on Fedora, which cannot
build for FreeBSD. Add a GitHub Actions workflow that runs the same
validate, build and unit-test steps on Linux, cross-checks the FreeBSD
target with clippy from Linux, and runs the unit tests in a FreeBSD 15.1
VM so the ioctl and struct-layout tests see the real headers.

The Linux steps mirror `make validate` and `make unit`; docs are left out
because they need go-md2man. Protoc comes from the same packages the
release workflow installs.

Signed-off-by: Michael Johnson <buhnux@gmail.com>
@ahze
ahze merged commit e68686b into main Nov 12, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant