+self-hosted-runner:
+ # Pending release of actionlint > 1.7.11 for macos-26-intel support
+ # https://github.com/rhysd/actionlint/pull/629
+ labels: ["macos-26-intel"]
+
config-variables: null
paths:
strategy:
fail-fast: false
matrix:
- # macos-14 is M1, macos-15-intel is Intel.
- # macos-15-intel only runs tests against the GIL-enabled CPython.
+ # macos-26 is Apple Silicon, macos-26-intel is Intel.
+ # macos-26-intel only runs tests against the GIL-enabled CPython.
os:
- - macos-14
- - macos-15-intel
+ - macos-26
+ - macos-26-intel
free-threading:
- false
- true
exclude:
- - os: macos-15-intel
+ - os: macos-26-intel
free-threading: true
uses: ./.github/workflows/reusable-macos.yml
with:
matrix:
include:
- arch: aarch64
- runs-on: macos-14
+ runs-on: macos-26
- arch: x86_64
runs-on: ubuntu-24.04
--prefix=/opt/python-dev \
--with-openssl="$(brew --prefix openssl@3.5)"
- name: Build CPython
- if : ${{ inputs.free-threading || inputs.os != 'macos-15-intel' }}
+ if : ${{ inputs.free-threading || inputs.os != 'macos-26-intel' }}
run: gmake -j8
- name: Build CPython for compiler warning check
- if : ${{ !inputs.free-threading && inputs.os == 'macos-15-intel' }}
+ if : ${{ !inputs.free-threading && inputs.os == 'macos-26-intel' }}
run: set -o pipefail; gmake -j8 --output-sync 2>&1 | tee compiler_output_macos.txt
- name: Display build info
run: make pythoninfo
- name: Check compiler warnings
- if : ${{ !inputs.free-threading && inputs.os == 'macos-15-intel' }}
+ if : ${{ !inputs.free-threading && inputs.os == 'macos-26-intel' }}
run: >-
python3 Tools/build/check_warnings.py
--compiler-output-file-path=compiler_output_macos.txt