Skip to content

Commit 950daf8

Browse files
Damien-Chenambv
andauthored
[3.13] gh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (#122566) (#126619)
Co-authored-by: Łukasz Langa <[email protected]>
1 parent 329865b commit 950daf8

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

.github/workflows/build.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
check_abi:
4444
name: 'Check if the ABI has changed'
45-
runs-on: ubuntu-22.04
45+
runs-on: ubuntu-22.04 # 24.04 causes spurious errors
4646
needs: check_source
4747
if: needs.check_source.outputs.run_tests == 'true'
4848
steps:
@@ -131,7 +131,7 @@ jobs:
131131
name: 'Check if generated files are up to date'
132132
# Don't use ubuntu-latest but a specific version to make the job
133133
# reproducible: to get the same tools versions (autoconf, aclocal, ...)
134-
runs-on: ubuntu-22.04
134+
runs-on: ubuntu-24.04
135135
timeout-minutes: 60
136136
needs: check_source
137137
if: needs.check_source.outputs.run_tests == 'true'
@@ -280,7 +280,7 @@ jobs:
280280
strategy:
281281
fail-fast: false
282282
matrix:
283-
os: [ubuntu-22.04]
283+
os: [ubuntu-24.04]
284284
openssl_ver: [3.0.15, 3.1.7, 3.2.3, 3.3.2]
285285
env:
286286
OPENSSL_VER: ${{ matrix.openssl_ver }}
@@ -340,7 +340,7 @@ jobs:
340340

341341
test_hypothesis:
342342
name: "Hypothesis tests on Ubuntu"
343-
runs-on: ubuntu-22.04
343+
runs-on: ubuntu-24.04
344344
timeout-minutes: 60
345345
needs: check_source
346346
if: needs.check_source.outputs.run_tests == 'true' && needs.check_source.outputs.run_hypothesis == 'true'
@@ -453,10 +453,13 @@ jobs:
453453

454454
build_asan:
455455
name: 'Address sanitizer'
456-
runs-on: ubuntu-22.04
456+
runs-on: ${{ matrix.os }}
457457
timeout-minutes: 60
458458
needs: check_source
459459
if: needs.check_source.outputs.run_tests == 'true'
460+
strategy:
461+
matrix:
462+
os: [ubuntu-24.04]
460463
env:
461464
OPENSSL_VER: 3.0.15
462465
PYTHONSTRICTEXTENSIONBUILD: 1

.github/workflows/posix-deps-apt.sh

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ apt-get -yq install \
1313
libgdbm-dev \
1414
libgdbm-compat-dev \
1515
liblzma-dev \
16-
libmpdec-dev \
1716
libncurses5-dev \
1817
libreadline6-dev \
1918
libsqlite3-dev \

.github/workflows/reusable-tsan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
build_tsan_reusable:
2323
name: 'Thread sanitizer'
24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-24.04
2525
timeout-minutes: 60
2626
steps:
2727
- uses: actions/checkout@v4

.github/workflows/reusable-ubuntu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: [ubuntu-22.04]
23+
os: [ubuntu-24.04]
2424
env:
2525
FORCE_COLOR: 1
2626
OPENSSL_VER: 3.0.15

.github/workflows/reusable-wasi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build_wasi_reusable:
1212
name: 'build and test'
1313
timeout-minutes: 60
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515
env:
1616
WASMTIME_VERSION: 22.0.0
1717
WASI_SDK_VERSION: 24

0 commit comments

Comments
 (0)