Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build a release asset for FreeBSD #440

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ararslan
Copy link

@ararslan ararslan commented May 8, 2024

This uses the vmactions/freebsd-vm GitHub Action to build an asset for FreeBSD alongside the existing assets. See #438 for context.

The build steps as written produce a working binary on my FreeBSD 14.0 x86_64 system. Note however that the VM used for CI is FreeBSD 13.2; this is because binaries built on a FreeBSD system are forward- but not backward-compatible with other FreeBSD versions. That is, an executable built on 14.0 wouldn't necessarily work on 13.2, but one built on 13.2 will work on 14.0. The choice of 13.2 in particular is because it's the oldest currently supported release.

Python 3.11 is used for consistency with other platforms. Unlike other platforms, this build utilizes a virtual environment, simply because it's easier and less error prone.

This uses the `vmactions/freebsd-vm` GitHub Action to build an asset for
FreeBSD alongside the existing assets. See issue 438 for context.

The build steps as written produce a working binary on FreeBSD 14.0
x86_64. Note however that the VM used for CI is FreeBSD 13.2; this is
because binaries built on a FreeBSD system are forward- but not
backward-compatible with other FreeBSD versions. That is, an executable
built on 14.0 wouldn't necessarily work on 13.2, but one built on 13.2
will work on 14.0. The choice of 13.2 in particular is because it's the
oldest currently supported release.

Python 3.11 is used for consistency with other platforms. Unlike other
platforms, this build utilizes a virtual environment, simply because
it's easier and less error prone.
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.

None yet

1 participant