From 596cba282154e3f953268b7766da916cdf6150d5 Mon Sep 17 00:00:00 2001 From: Cong Wang Date: Sun, 26 Apr 2026 15:52:10 +0800 Subject: [PATCH] ci: pin release build to ubuntu-22.04 for older glibc compat Close #16 Signed-off-by: Cong Wang --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd622c7..913ad30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,9 +11,12 @@ permissions: jobs: # Build Rust binaries and shared library + # Pinned to ubuntu-22.04 (glibc 2.35) so release binaries run on older + # distros (Ubuntu 22.04+, Debian 12+, RHEL 9+). ubuntu-latest tracks the + # newest glibc and would exclude those hosts. build: name: Build (${{ matrix.target }}) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: