Skip to content

Commit 6ba031f

Browse files
committed
Use ubuntu-22 instead of -latest for wider binary compatability with GCC
1 parent 3f41801 commit 6ba031f

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
@@ -74,30 +74,32 @@ jobs:
7474
matrix:
7575
include:
7676
# Linux x86_64 (baseline)
77+
# Built on ubuntu-22.04 (glibc 2.35) for broader compatibility
78+
# with older distros (RHEL/Rocky 9, Debian 12, etc.)
7779
- name: linux-x86_64
78-
os: ubuntu-latest
80+
os: ubuntu-22.04
7981
target: x86_64-unknown-linux-gnu
8082

8183
# Linux x86_64 with AVX2 (x86-64-v3)
8284
- name: linux-x86_64-v3
83-
os: ubuntu-latest
85+
os: ubuntu-22.04
8486
target: x86_64-unknown-linux-gnu
8587
target_cpu: x86-64-v3
8688

8789
# Linux x86_64 with AVX-512 (x86-64-v4)
8890
- name: linux-x86_64-v4
89-
os: ubuntu-latest
91+
os: ubuntu-22.04
9092
target: x86_64-unknown-linux-gnu
9193
target_cpu: x86-64-v4
9294

9395
# Linux aarch64 (native arm64 runner, baseline)
9496
- name: linux-aarch64
95-
os: ubuntu-24.04-arm
97+
os: ubuntu-22.04-arm
9698
target: aarch64-unknown-linux-gnu
9799

98100
# Linux aarch64 with SVE (Graviton 3+, Axion, Grace)
99101
- name: linux-aarch64-neoverse-v1
100-
os: ubuntu-24.04-arm
102+
os: ubuntu-22.04-arm
101103
target: aarch64-unknown-linux-gnu
102104
target_cpu: neoverse-v1
103105

0 commit comments

Comments
 (0)