From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Tue, 17 Feb 2026 10:49:31 +0000 (+0200) Subject: Enable CPU tests on default ARM build (#144743) X-Git-Tag: v3.15.0a7~261 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ef2578f209f230f26c41683bd8eab6ee05e013c;p=thirdparty%2FPython%2Fcpython.git Enable CPU tests on default ARM build (#144743) --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f302cb049326..d777f35ac208 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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' diff --git a/.github/workflows/reusable-ubuntu.yml b/.github/workflows/reusable-ubuntu.yml index 03f41069b843..4bb4f535acb3 100644 --- a/.github/workflows/reusable-ubuntu.yml +++ b/.github/workflows/reusable-ubuntu.yml @@ -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 }}