Skip to content

ci: Add OS and libc compatibility CI for musl Linux and FreeBSD#291

Merged
hellobertrand merged 1 commit into
mainfrom
ci/compat-os
Jun 21, 2026
Merged

ci: Add OS and libc compatibility CI for musl Linux and FreeBSD#291
hellobertrand merged 1 commit into
mainfrom
ci/compat-os

Conversation

@hellobertrand

Copy link
Copy Markdown
Owner

Introduce a new CI workflow to ensure portability across different operating systems and libc implementations.

This workflow specifically targets:

  • musl libc (Alpine Linux): Catches non-glibc specific issues, such as differences in default thread stack size.
  • FreeBSD: Acts as a portability canary for non-glibc and clang environments, relevant for BSD packaging.

Both environments run the full STATIC+SHARED ctest suite with ZXC_NATIVE_ARCH=OFF to validate broader runtime compatibility.

Introduce a new CI workflow to ensure portability across different operating systems and libc implementations.

This workflow specifically targets:
- **musl libc (Alpine Linux):** Catches non-glibc specific issues, such as differences in default thread stack size.
- **FreeBSD:** Acts as a portability canary for non-glibc and clang environments, relevant for BSD packaging.

Both environments run the full `STATIC+SHARED` ctest suite with `ZXC_NATIVE_ARCH=OFF` to validate broader runtime compatibility.

@codacy-production codacy-production Bot 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.

Pull Request Overview

The review identifies a critical gap: while the PR title and intent specify the addition of CI workflows for musl Linux and FreeBSD, no files were modified or added in this submission.

Consequently, none of the acceptance criteria—such as configuring Alpine/FreeBSD environments or setting specific build flags like ZXC_NATIVE_ARCH=OFF—have been met. The PR cannot be evaluated for quality or correctness in its current state.

About this PR

  • The Pull Request title and description indicate significant changes to the CI infrastructure (Alpine Linux/musl and FreeBSD support), yet no files appear to have been modified or added in this submission. Please ensure the relevant workflow files are included in the branch.

Test suggestions

  • Verify CI configuration for Alpine Linux (musl) is correctly defined
  • Verify CI configuration for FreeBSD is correctly defined
  • Verify ctest execution includes STATIC and SHARED configurations
  • Verify ZXC_NATIVE_ARCH is set to OFF in CI scripts
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify CI configuration for Alpine Linux (musl) is correctly defined
2. Verify CI configuration for FreeBSD is correctly defined
3. Verify ctest execution includes STATIC and SHARED configurations
4. Verify ZXC_NATIVE_ARCH is set to OFF in CI scripts

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@hellobertrand hellobertrand merged commit d0956ac into main Jun 21, 2026
74 checks passed
@hellobertrand hellobertrand deleted the ci/compat-os branch June 21, 2026 13:17
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