@@ -46,23 +46,24 @@ jobs:
4646 # reproducible: to get the same tools versions (autoconf, aclocal, ...)
4747 runs-on : ubuntu-24.04
4848 container :
49- image : ghcr.io/python/autoconf:2024.10.16.11360930377
49+ image : ghcr.io/python/autoconf:2025.01.02.12581854023
5050 timeout-minutes : 60
5151 needs : check_source
5252 if : needs.check_source.outputs.run_tests == 'true'
5353 steps :
5454 - name : Install Git
5555 run : |
56- apt install git -yq
56+ apt update && apt install git -yq
5757 git config --global --add safe.directory "$GITHUB_WORKSPACE"
5858 - uses : actions/checkout@v4
5959 with :
6060 fetch-depth : 1
61+ persist-credentials : false
6162 - name : Runner image version
6263 run : echo "IMAGE_VERSION=${ImageVersion}" >> "$GITHUB_ENV"
6364 - name : Check Autoconf and aclocal versions
6465 run : |
65- grep "Generated by GNU Autoconf 2.71 " configure
66+ grep "Generated by GNU Autoconf 2.72 " configure
6667 grep "aclocal 1.16.5" aclocal.m4
6768 grep -q "runstatedir" configure
6869 grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4
7677 # Check for changes in regenerated files
7778 if test -n "$changes"; then
7879 echo "Generated files not up to date."
79- echo "Perhaps you forgot to run make regen-all or build.bat --regen. ;)"
80+ echo "Perhaps you forgot to run make regen-configure ;)"
8081 echo "configure files must be regenerated with a specific version of autoconf."
8182 echo "$changes"
8283 echo ""
9495 if : needs.check_source.outputs.run_tests == 'true'
9596 steps :
9697 - uses : actions/checkout@v4
98+ with :
99+ persist-credentials : false
97100 - uses : actions/setup-python@v5
98101 with :
99102 python-version : ' 3.x'
@@ -120,7 +123,7 @@ jobs:
120123 - name : Build CPython
121124 run : |
122125 make -j4 regen-all
123- make regen-stdlib-module-names regen-sbom
126+ make regen-stdlib-module-names regen-sbom regen-unicodedata
124127 - name : Check for changes
125128 run : |
126129 git add -u
@@ -150,16 +153,28 @@ jobs:
150153 needs : check_source
151154 if : fromJSON(needs.check_source.outputs.run_tests)
152155 strategy :
156+ fail-fast : false
153157 matrix :
158+ os :
159+ - windows-latest
154160 arch :
155- - Win32
156- - x64
157- - arm64
161+ - x64
158162 free-threading :
159- - false
160- - true
163+ - false
164+ - true
165+ include :
166+ - os : windows-latest # FIXME(diegorusso): change to os: windows-aarch64
167+ arch : arm64
168+ free-threading : false
169+ - os : windows-latest # FIXME(diegorusso): change to os: windows-aarch64
170+ arch : arm64
171+ free-threading : true
172+ - os : windows-latest
173+ arch : Win32
174+ free-threading : false
161175 uses : ./.github/workflows/reusable-windows.yml
162176 with :
177+ os : ${{ matrix.os }}
163178 arch : ${{ matrix.arch }}
164179 free-threading : ${{ matrix.free-threading }}
165180
@@ -223,10 +238,19 @@ jobs:
223238 free-threading :
224239 - false
225240 - true
241+ os :
242+ - ubuntu-24.04
243+ - ubuntu-24.04-aarch64
244+ is-fork : # only used for the exclusion trick
245+ - ${{ github.repository_owner != 'python' }}
246+ exclude :
247+ - os : ubuntu-24.04-aarch64
248+ is-fork : true
226249 uses : ./.github/workflows/reusable-ubuntu.yml
227250 with :
228251 config_hash : ${{ needs.check_source.outputs.config_hash }}
229252 free-threading : ${{ matrix.free-threading }}
253+ os : ${{ matrix.os }}
230254
231255 build_ubuntu_ssltests :
232256 name : ' Ubuntu SSL tests with OpenSSL'
@@ -238,14 +262,17 @@ jobs:
238262 fail-fast : false
239263 matrix :
240264 os : [ubuntu-24.04]
241- openssl_ver : [3.0.15, 3.1.7, 3.2.3, 3.3.2]
265+ openssl_ver : [3.0.15, 3.1.7, 3.2.3, 3.3.2, 3.4.0]
266+ # See Tools/ssl/make_ssl_data.py for notes on adding a new version
242267 env :
243268 OPENSSL_VER : ${{ matrix.openssl_ver }}
244269 MULTISSL_DIR : ${{ github.workspace }}/multissl
245270 OPENSSL_DIR : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
246271 LD_LIBRARY_PATH : ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
247272 steps :
248273 - uses : actions/checkout@v4
274+ with :
275+ persist-credentials : false
249276 - name : Runner image version
250277 run : echo "IMAGE_VERSION=${ImageVersion}" >> "$GITHUB_ENV"
251278 - name : Restore config.cache
@@ -306,6 +333,8 @@ jobs:
306333 PYTHONSTRICTEXTENSIONBUILD : 1
307334 steps :
308335 - uses : actions/checkout@v4
336+ with :
337+ persist-credentials : false
309338 - name : Register gcc problem matcher
310339 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
311340 - name : Install Dependencies
@@ -389,7 +418,7 @@ jobs:
389418 #
390419 # (GH-104097) test_sysconfig is skipped because it has tests that are
391420 # failing when executed from inside a virtual environment.
392- ${{ env. VENV_PYTHON }} -m test \
421+ "${ VENV_PYTHON}" -m test \
393422 -W \
394423 -o \
395424 -j4 \
@@ -424,6 +453,8 @@ jobs:
424453 ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
425454 steps :
426455 - uses : actions/checkout@v4
456+ with :
457+ persist-credentials : false
427458 - name : Runner image version
428459 run : echo "IMAGE_VERSION=${ImageVersion}" >> "$GITHUB_ENV"
429460 - name : Restore config.cache
0 commit comments