Skip to content

Commit ffef1f0

Browse files
committed
Use ubuntu-22 instead of -latest for wider binary compatability with GCC
1 parent bea5571 commit ffef1f0

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,30 +75,32 @@ jobs:
7575
matrix:
7676
include:
7777
# Linux x86_64 (baseline)
78+
# Built on ubuntu-22.04 (glibc 2.35) for broader compatibility
79+
# with older distros (RHEL/Rocky 9, Debian 12, etc.)
7880
- name: linux-x86_64
79-
os: ubuntu-latest
81+
os: ubuntu-22.04
8082
target: x86_64-unknown-linux-gnu
8183

8284
# Linux x86_64 with AVX2 (x86-64-v3)
8385
- name: linux-x86_64-v3
84-
os: ubuntu-latest
86+
os: ubuntu-22.04
8587
target: x86_64-unknown-linux-gnu
8688
target_cpu: x86-64-v3
8789

8890
# Linux x86_64 with AVX-512 (x86-64-v4)
8991
- name: linux-x86_64-v4
90-
os: ubuntu-latest
92+
os: ubuntu-22.04
9193
target: x86_64-unknown-linux-gnu
9294
target_cpu: x86-64-v4
9395

9496
# Linux aarch64 (native arm64 runner, baseline)
9597
- name: linux-aarch64
96-
os: ubuntu-24.04-arm
98+
os: ubuntu-22.04-arm
9799
target: aarch64-unknown-linux-gnu
98100

99101
# Linux aarch64 with SVE (Graviton 3+, Axion, Grace)
100102
- name: linux-aarch64-neoverse-v1
101-
os: ubuntu-24.04-arm
103+
os: ubuntu-22.04-arm
102104
target: aarch64-unknown-linux-gnu
103105
target_cpu: neoverse-v1
104106

0 commit comments

Comments
 (0)