From 6ba031f23a33e1885eb6ee3aeda7f341e0d77b2b Mon Sep 17 00:00:00 2001 From: Phil Ewels Date: Fri, 8 May 2026 01:39:22 +0200 Subject: [PATCH] Use ubuntu-22 instead of -latest for wider binary compatability with GCC --- .github/workflows/release.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b26951b..98adf0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,30 +74,32 @@ jobs: matrix: include: # Linux x86_64 (baseline) + # Built on ubuntu-22.04 (glibc 2.35) for broader compatibility + # with older distros (RHEL/Rocky 9, Debian 12, etc.) - name: linux-x86_64 - os: ubuntu-latest + os: ubuntu-22.04 target: x86_64-unknown-linux-gnu # Linux x86_64 with AVX2 (x86-64-v3) - name: linux-x86_64-v3 - os: ubuntu-latest + os: ubuntu-22.04 target: x86_64-unknown-linux-gnu target_cpu: x86-64-v3 # Linux x86_64 with AVX-512 (x86-64-v4) - name: linux-x86_64-v4 - os: ubuntu-latest + os: ubuntu-22.04 target: x86_64-unknown-linux-gnu target_cpu: x86-64-v4 # Linux aarch64 (native arm64 runner, baseline) - name: linux-aarch64 - os: ubuntu-24.04-arm + os: ubuntu-22.04-arm target: aarch64-unknown-linux-gnu # Linux aarch64 with SVE (Graviton 3+, Axion, Grace) - name: linux-aarch64-neoverse-v1 - os: ubuntu-24.04-arm + os: ubuntu-22.04-arm target: aarch64-unknown-linux-gnu target_cpu: neoverse-v1