Skip to content

ci: validate native FreeBSD amd64 builds and tests - #49

Open
billmcilhargey wants to merge 1 commit into
librespeed:masterfrom
blackoutsecure:freebsd-native-ci
Open

billmcilhargey wants to merge 1 commit into
librespeed:masterfrom
blackoutsecure:freebsd-native-ci

Conversation

@billmcilhargey

@billmcilhargey billmcilhargey commented Nov 25, 2026 •

Copy link
Copy Markdown

Summary

Closes #48.

  • Add a commit-pinned vmactions/freebsd-vm job for FreeBSD 15.1 amd64 to the existing reusable CI workflow, preserving inputs.ref || github.sha so the release gate checks the resolved release commit.
  • Run locked default-feature tests, a native release build, and executable version/help smoke checks. Rust is installed only in the disposable CI VM; no Go or external OpenSSL backend is introduced.
  • Document native source builds, source-address versus interface-binding limits, and the distinction between CI qualification and published FreeBSD release assets.

This contribution comes from Blackout Secure’s OPNsense integration. The fork is for upstream collaboration, not a divergent runtime client. No FreeBSD source patch is proposed: native testing has not demonstrated a portability defect. This does not overlap the revision/probe changes in #46 or #47.

Native validation

Tested upstream commit 5c44cceea2bca700878e3278f3f8dde51b7504b4 on OPNsense 26.7 / FreeBSD 15.1-RELEASE-p1 amd64, using rustc/cargo 1.99.1 and the base-system C compiler. Rust was checksum-verified and installed into an isolated temporary directory, without global package/profile or firewall configuration changes.

cargo test --locked completed successfully: 194 reported test successes, covering unit, ALPN, CSV, golden, integration, output-context and parity-harness cases. The actual Go differential comparison explicitly skipped because LIBRESPEED_GO_BIN was not set; the existing Linux parity job continues to cover that comparison. No claim is made for other FreeBSD releases, architectures or the OpenSSL backend.

The published 1.2.1 crate also passed its 117 native unit tests; its release binary was built natively and passed downstream verified-HTTPS and OPNsense package checks. The published crate does not include the upstream integration-test files, so the 194-test master run above remains the integration evidence.

Workflow YAML parses successfully. The upstream GitHub Actions run requires maintainer approval and is not green yet: https://github.com/librespeed/speedtest-cli-rust/actions/runs/45576157977. No FreeBSD release assets are added.

Document source builds and the boundary between FreeBSD CI and published release assets.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 25, 2026 08:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the FreeBSD CI qualification and documentation updates.

No open issues 🎉

What changed in this PR

Adds native FreeBSD amd64 qualification to the reusable CI workflow, extending release validation without changing runtime code or publishing FreeBSD binaries.

Changes:

  • Adds a commit-pinned FreeBSD 15.1 VM job that preserves the requested commit reference and runs locked tests, a release build, and version/help smoke checks.
  • Documents native FreeBSD builds, platform binding limits, and the separate Linux Go parity coverage.
  • Updates release documentation to distinguish FreeBSD CI qualification from published binary assets.
File Description
RELEASING.md Adds FreeBSD to release checks and clarifies that no FreeBSD binaries are published.
README.md Documents FreeBSD source builds and support limits; adds --locked to source-build instructions.
.github/​workflows/​ci.yml Adds native FreeBSD 15.1 amd64 tests, release compilation, and executable smoke checks.

Review effort: Balanced

This branch has not been deployed

No deployments
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.

Add native FreeBSD amd64 build and regression coverage

2 participants