Skip to content

Commit 4dc2a12

Browse files
committed
artifacts: build on ubuntu-22.04 (previously 20.04)
There are comments here motivating the choice of 20.04 as being an older (= more compatible) glibc. It is unclear whether that is a current or vestigial requirement.
1 parent 3600941 commit 4dc2a12

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/artifacts.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
linux-binaries:
4848
name: Linux (x86_64 GNU)
49-
runs-on: ubuntu-20.04 # x86_64. Using older Ubuntu for greater GLIBC compat.
49+
runs-on: ubuntu-22.04 # x86_64.
5050
steps:
5151
- uses: actions/checkout@v4
5252
with:
@@ -63,11 +63,6 @@ jobs:
6363
curl -L $LINK/$CARGO_C_FILE | tar xz -C ~/.cargo/bin
6464
6565
- name: Build rustls-ffi
66-
# The Ubuntu 20.04 GCC is too old to build aws-lc.
67-
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189.
68-
env:
69-
CC: clang
70-
CXX: clang
7166
run: |
7267
cargo cinstall --locked --target x86_64-unknown-linux-gnu --features cert_compression --release --prefix dist
7368
@@ -82,7 +77,7 @@ jobs:
8277

8378
linux-deb:
8479
name: Linux (x86-64 GNU Deb)
85-
runs-on: ubuntu-20.04 # x86_64. Using older Ubuntu for greater GLIBC compat.
80+
runs-on: ubuntu-22.04 # x86_64.
8681
steps:
8782
- uses: actions/checkout@v4
8883
with:
@@ -275,7 +270,7 @@ jobs:
275270
needs: [ linux-deb ]
276271
strategy:
277272
matrix:
278-
os: [ ubuntu-latest, ubuntu-20.04 ]
273+
os: [ ubuntu-latest, ubuntu-22.04 ]
279274
steps:
280275
- name: Checkout sources
281276
uses: actions/checkout@v4

0 commit comments

Comments
 (0)