Skip to content

Migrate FreeBSD CI to GitHub actions, and add NetBSD - #1409

Merged
jmarshall merged 1 commit into
pysam-developers:masterfrom
jmarshall:bsd
May 7, 2026
Merged

Migrate FreeBSD CI to GitHub actions, and add NetBSD#1409
jmarshall merged 1 commit into
pysam-developers:masterfrom
jmarshall:bsd

Conversation

@jmarshall

Copy link
Copy Markdown
Member

Sadly Cirrus CI will soon shut down. Instead test BSD on GitHub Actions under emulation via cross-platform-actions/action. This has x86-64 running on x86-64, so performs about as well as the native jobs.

Our build process uses sysconfig settings originally used to build Python to construct build command lines. It seems these are more informational rather than intended to be used directly, so on these platforms we need to massage them a little to make them suitable for use:

  • On FreeBSD, we need to add /usr/local/include to the search path for libcurl headers to be found.
  • NetBSD Python's sysconfig.CFLAGS uses -I for its system header directories, but we don't want those to override pysam's own -I options so we downgrade them to -isystem.

Sadly Cirrus CI will soon shut down. Instead test BSD on GitHub Actions
under emulation via cross-platform-actions/action. This has x86-64 running
on x86-64, so performs about as well as the native jobs.

On FreeBSD, we need to add /usr/local/include to the search path for
libcurl headers to be found. NetBSD Python's sysconfig.CFLAGS uses -I
for its system header directories, but we don't want those to override
pysam's own -I options so we downgrade them to -isystem.
@jmarshall
jmarshall merged commit 2bf94ad into pysam-developers:master May 7, 2026
18 checks passed
@jmarshall
jmarshall deleted the bsd branch May 7, 2026 07:11
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