]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (#122566) (#126621)
authorDamien <81557462+Damien-Chen@users.noreply.github.com>
Sat, 11 Jan 2025 22:23:53 +0000 (06:23 +0800)
committerGitHub <noreply@github.com>
Sat, 11 Jan 2025 22:23:53 +0000 (00:23 +0200)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
.github/workflows/build.yml
.github/workflows/posix-deps-apt.sh
.github/workflows/reusable-tsan.yml
.github/workflows/reusable-ubuntu.yml

index 32ffd2cdb436653a11da49812c2a0f61c74673a8..8c7665f2a14d1d07d79df7624d6aff88fbebde0b 100644 (file)
@@ -142,7 +142,7 @@ jobs:
     name: 'Check if generated files are up to date'
     # Don't use ubuntu-latest but a specific version to make the job
     # reproducible: to get the same tools versions (autoconf, aclocal, ...)
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     timeout-minutes: 60
     needs: check_source
     if: needs.check_source.outputs.run_tests == 'true'
@@ -295,7 +295,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        os: [ubuntu-22.04]
+        os: [ubuntu-24.04]
         openssl_ver: [3.0.15, 3.1.7, 3.2.3, 3.3.2]
     env:
       OPENSSL_VER: ${{ matrix.openssl_ver }}
@@ -349,7 +349,7 @@ jobs:
 
   test_hypothesis:
     name: "Hypothesis tests on Ubuntu"
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     timeout-minutes: 60
     needs: check_source
     if: needs.check_source.outputs.run_tests == 'true' && needs.check_source.outputs.run_hypothesis == 'true'
@@ -468,6 +468,9 @@ jobs:
     timeout-minutes: 60
     needs: check_source
     if: needs.check_source.outputs.run_tests == 'true'
+    strategy:
+      matrix:
+        os: [ubuntu-24.04]
     env:
       OPENSSL_VER: 3.0.15
       PYTHONSTRICTEXTENSIONBUILD: 1
index bbae378f7b994ec640a424e9ff66bdc49d3db915..a4679e118f9c1c3740c88fb37d75a34c681a5717 100755 (executable)
@@ -16,6 +16,7 @@ apt-get -yq install \
     libgdbm-compat-dev \
     liblzma-dev \
     libncurses5-dev \
+    libnsl-dev \
     libreadline6-dev \
     libsqlite3-dev \
     libssl-dev \
index 8fcade6da5bbda80caf419091d251458d9f0ab17..52fa3b0eb9c2f7ada003ca15785ac471e38f4669 100644 (file)
@@ -13,7 +13,7 @@ on:
 jobs:
   build_tsan_reusable:
     name: 'Thread sanitizer'
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-24.04
     timeout-minutes: 60
     env:
       OPTIONS: ${{ inputs.options }}
index e2b38ef5c04e923c064bbb067dd9a17e76beabe1..5d6f5b2c8bb572be46da90c717e255be032c7cf9 100644 (file)
@@ -20,7 +20,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        os: [ubuntu-22.04]
+        os: [ubuntu-24.04]
     env:
       OPENSSL_VER: 3.0.15
       PYTHONSTRICTEXTENSIONBUILD: 1