Skip to content

Run the test suite on FreeBSD VMs on GitHub Actions - #1

Closed
no-pictures[bot] wants to merge 2 commits into
mainfrom
ci/freebsd-vm
Closed

Run the test suite on FreeBSD VMs on GitHub Actions#1
no-pictures[bot] wants to merge 2 commits into
mainfrom
ci/freebsd-vm

Conversation

@no-pictures

@no-pictures no-pictures Bot commented Jul 8, 2026

Copy link
Copy Markdown

This adds continuous integration on GitHub Actions, running the test suite inside real FreeBSD VMs.

  • The test-freebsd matrix boots FreeBSD 14.4-RELEASE and 15.1-RELEASE through the composite actions from gronke/freebsd-ci, pinned to commit 16b835a until a versioned tag exists.
  • The guest installs python, freebsd-sysctl, pip and pytest from packages, installs the library through pip, and runs pytest, so every run also proves that the package installs after the metadata move from use setup.cfg to reduce boilerplate gronke/py-jail#9.
  • A build job packages the sdist and wheel on Linux and validates the metadata with twine.

This closes gronke#2 and supersedes PR gronke#4 by Mina Galić, whose Travis and Cirrus configurations predate GitHub Actions.

This repository is the first external consumer of the freebsd-ci actions.
Running the workflow here requires the pattern gronke/freebsd-ci/*@* in the allowed-actions list; until it is added, the test-freebsd jobs fail at action resolution.

The first green run doubles as the baseline record for the campaign; per-release results follow as a comment.

gronke added 2 commits July 8, 2026 06:29
The test-freebsd matrix boots 14.4-RELEASE and 15.1-RELEASE through the gronke/freebsd-ci composite actions, pinned to a commit until a versioned tag exists.
The guest installs the dependencies from packages and the library through pip, which also proves that the package installs after the metadata move from gronke#9.
A build job packages the distribution on Linux and validates the metadata with twine.
FreeBSD 15 removed the default mask: setting an interface address without one fails with an error since ifconfig no longer supports it.
The first address carries the /24 of the test network and the further alias in the same subnet uses a host mask.
@no-pictures no-pictures Bot closed this Jul 8, 2026
@no-pictures
no-pictures Bot deleted the ci/freebsd-vm branch July 8, 2026 06:44
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.

Test Automation

1 participant