]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Enable CPU tests on default ARM build (#144743)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Tue, 17 Feb 2026 10:49:31 +0000 (12:49 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Feb 2026 10:49:31 +0000 (12:49 +0200)
.github/workflows/build.yml
.github/workflows/reusable-ubuntu.yml

index f302cb049326b0071c343116caf1cf435abdc6f4..d777f35ac208fdfbf6ef21753a3587e5732bd9d7 100644 (file)
@@ -242,11 +242,18 @@ jobs:
         # BOLT currently crashes during instrumentation on aarch64
         - os: ubuntu-24.04-arm
           bolt: true
+        include:
+        # Enable CPU-intensive tests on ARM (default build only)
+        - os: ubuntu-24.04-arm
+          bolt: false
+          free-threading: false
+          test-opts: '-u cpu'
     uses: ./.github/workflows/reusable-ubuntu.yml
     with:
       bolt-optimizations: ${{ matrix.bolt }}
       free-threading: ${{ matrix.free-threading }}
       os: ${{ matrix.os }}
+      test-opts: ${{ matrix.test-opts || '' }}
 
   build-ubuntu-ssltests-openssl:
     name: 'Ubuntu SSL tests with OpenSSL'
index 03f41069b8430d8a41dcd43bf8b8c2ba97e97894..4bb4f535acb3604e8951381f15adcf37ba4b4cd7 100644 (file)
@@ -17,6 +17,11 @@ on:
          description: OS to run the job
          required: true
          type: string
+      test-opts:
+         description: Extra options to pass to the test runner via TESTOPTS
+         required: false
+         type: string
+         default: ''
 
 env:
   FORCE_COLOR: 1
@@ -111,4 +116,6 @@ jobs:
       run: sudo mount "$CPYTHON_RO_SRCDIR" -oremount,rw
     - name: Tests
       working-directory: ${{ env.CPYTHON_BUILDDIR }}
-      run: xvfb-run make ci
+      run: xvfb-run make ci EXTRATESTOPTS="${TEST_OPTS}"
+      env:
+        TEST_OPTS: ${{ inputs.test-opts }}