Skip to content

ci: pin release build to ubuntu-22.04 for older glibc compat#26

Merged
congwang-mk merged 1 commit intomainfrom
ci-glibc-floor
Apr 26, 2026
Merged

ci: pin release build to ubuntu-22.04 for older glibc compat#26
congwang-mk merged 1 commit intomainfrom
ci-glibc-floor

Conversation

@congwang-mk
Copy link
Copy Markdown
Contributor

Summary

  • Pins the release build job to ubuntu-22.04 (glibc 2.35) so released sandlock binaries run on Ubuntu 22.04+, Debian 12+, and RHEL 9+.
  • glibc is forward-compatible, so the 22.04 binary continues to work on every newer host. Shipping a separate ubuntu-latest build would gain nothing.
  • Other jobs (sdist, wheels, test, publish, release) stay on ubuntu-latest since they don't ship host-linked binaries (wheels already build inside manylinux containers).

Fixes #16

Test plan

  • Trigger a release (or a workflow_dispatch run) and confirm sandlock-x86_64-unknown-linux-gnu.tar.gz is built on the 22.04 runner.
  • Download the tarball on a Ubuntu 22.04 host and run ./sandlock --version to confirm it loads (no GLIBC_2.39 not found).

🤖 Generated with Claude Code

Close #16

Signed-off-by: Cong Wang <cwang@multikernel.io>
@congwang-mk congwang-mk merged commit 4aae023 into main Apr 26, 2026
8 checks passed
@congwang-mk congwang-mk deleted the ci-glibc-floor branch April 26, 2026 07:58
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.

Target not latest ABI

1 participant