ci: Update macOS runners / versions

https://github.blog/changelog/2025-09-19-github-actions-macos-13-runner-image-is-closing-down/

- CI: Switch to macOS 15 Intel runner
  (macOS 14 is still tested with Apple Silicon)
- Nightly: Use macOS 15 Intel runner for nightly releases
  (macOS 14 would be better to align with actual Intel releases, but it is
  a -large runner, thus possibly metered)
- Releases: Use macOS 14 for Intel releases
  This is a -large runner, but releases don't happen often.
This commit is contained in:
Florian Bruhin 2025-11-05 16:51:43 +01:00
parent 2f8234ee2e
commit 4e87ef303f
3 changed files with 9 additions and 9 deletions

View File

@ -202,16 +202,16 @@ jobs:
- testenv: py314-pyqt610 - testenv: py314-pyqt610
os: ubuntu-24.04 os: ubuntu-24.04
python: "3.14" python: "3.14"
### macOS Ventura
- testenv: py314-pyqt610
os: macos-13
python: "3.14"
args: "tests/unit" # Only run unit tests on macOS
### macOS Sonoma (M1 runner) ### macOS Sonoma (M1 runner)
- testenv: py314-pyqt610 - testenv: py314-pyqt610
os: macos-14 os: macos-14
python: "3.14" python: "3.14"
args: "tests/unit" # Only run unit tests on macOS args: "tests/unit" # Only run unit tests on macOS
### macOS Sequoia (Intel runner)
- testenv: py314-pyqt610
os: macos-15-intel
python: "3.14"
args: "tests/unit" # Only run unit tests on macOS
### Windows ### Windows
- testenv: py314-pyqt610 - testenv: py314-pyqt610
os: windows-2022 os: windows-2022

View File

@ -14,7 +14,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- os: macos-13 - os: macos-15-intel
toxenv: build-release toxenv: build-release
name: macos-intel name: macos-intel
- os: macos-14 - os: macos-14
@ -23,7 +23,7 @@ jobs:
- os: windows-latest - os: windows-latest
toxenv: build-release toxenv: build-release
name: windows name: windows
- os: macos-13 - os: macos-15-intel
args: --debug args: --debug
toxenv: build-release toxenv: build-release
name: macos-debug-intel name: macos-debug-intel

View File

@ -153,8 +153,8 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- os: macos-13 - os: macos-14-large # Intel
- os: macos-14 - os: macos-14 # Apple Silicon
- os: windows-2022 - os: windows-2022
- os: ubuntu-24.04 - os: ubuntu-24.04
runs-on: "${{ matrix.os }}" runs-on: "${{ matrix.os }}"