Skip to content

WIP: Python 3.13 #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
TMP: Cancel in progress workflows
  • Loading branch information
zanieb committed Jun 6, 2024
commit 4ec9a1b47396fef4d68b1e3fa2a8dfec137d637c
229 changes: 117 additions & 112 deletions .github/workflows/apple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ on:
push:
pull_request:
schedule:
- cron: '13 11 * * *'
- cron: "13 11 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
pythonbuild:
runs-on: 'macos-13'
runs-on: "macos-13"
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -43,164 +48,164 @@ jobs:
fail-fast: false
matrix:
build:
- target_triple: 'aarch64-apple-darwin'
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.8'
optimizations: 'debug'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.8"
optimizations: "debug"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.8'
optimizations: 'pgo'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.8"
optimizations: "pgo"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.8'
optimizations: 'pgo+lto'
py: "cpython-3.8"
optimizations: "pgo+lto"

- target_triple: 'aarch64-apple-darwin'
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.9'
optimizations: 'debug'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.9"
optimizations: "debug"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.9'
optimizations: 'pgo'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.9"
optimizations: "pgo"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.9'
optimizations: 'pgo+lto'
py: "cpython-3.9"
optimizations: "pgo+lto"

- target_triple: 'aarch64-apple-darwin'
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.10'
optimizations: 'debug'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.10"
optimizations: "debug"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.10'
optimizations: 'pgo'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.10"
optimizations: "pgo"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.10'
optimizations: 'pgo+lto'
py: "cpython-3.10"
optimizations: "pgo+lto"

- target_triple: 'aarch64-apple-darwin'
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.11'
optimizations: 'debug'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.11"
optimizations: "debug"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.11'
optimizations: 'pgo'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.11"
optimizations: "pgo"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.11'
optimizations: 'pgo+lto'
py: "cpython-3.11"
optimizations: "pgo+lto"

- target_triple: 'aarch64-apple-darwin'
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.12'
optimizations: 'debug'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.12"
optimizations: "debug"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.12'
optimizations: 'pgo'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.12"
optimizations: "pgo"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.12'
optimizations: 'pgo+lto'
py: "cpython-3.12"
optimizations: "pgo+lto"

- target_triple: 'aarch64-apple-darwin'
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.13'
optimizations: 'debug'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.13"
optimizations: "debug"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.13'
optimizations: 'pgo'
- target_triple: 'aarch64-apple-darwin'
py: "cpython-3.13"
optimizations: "pgo"
- target_triple: "aarch64-apple-darwin"
runner: macos-14
py: 'cpython-3.13'
optimizations: 'pgo+lto'
py: "cpython-3.13"
optimizations: "pgo+lto"

# macOS on Intel hardware. This is pretty straightforward. We exclude
# noopt because it doesn't provide any compelling advantages over PGO
# or LTO builds.
- target_triple: 'x86_64-apple-darwin'
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.8'
optimizations: 'debug'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.8"
optimizations: "debug"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.8'
optimizations: 'pgo'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.8"
optimizations: "pgo"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.8'
optimizations: 'pgo+lto'
py: "cpython-3.8"
optimizations: "pgo+lto"

- target_triple: 'x86_64-apple-darwin'
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.9'
optimizations: 'debug'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.9"
optimizations: "debug"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.9'
optimizations: 'pgo'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.9"
optimizations: "pgo"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.9'
optimizations: 'pgo+lto'
py: "cpython-3.9"
optimizations: "pgo+lto"

- target_triple: 'x86_64-apple-darwin'
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.10'
optimizations: 'debug'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.10"
optimizations: "debug"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.10'
optimizations: 'pgo'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.10"
optimizations: "pgo"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.10'
optimizations: 'pgo+lto'
py: "cpython-3.10"
optimizations: "pgo+lto"

- target_triple: 'x86_64-apple-darwin'
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.11'
optimizations: 'debug'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.11"
optimizations: "debug"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.11'
optimizations: 'pgo'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.11"
optimizations: "pgo"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.11'
optimizations: 'pgo+lto'
py: "cpython-3.11"
optimizations: "pgo+lto"

- target_triple: 'x86_64-apple-darwin'
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.12'
optimizations: 'debug'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.12"
optimizations: "debug"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.12'
optimizations: 'pgo'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.12"
optimizations: "pgo"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.12'
optimizations: 'pgo+lto'
py: "cpython-3.12"
optimizations: "pgo+lto"

- target_triple: 'x86_64-apple-darwin'
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.13'
optimizations: 'debug'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.13"
optimizations: "debug"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.13'
optimizations: 'pgo'
- target_triple: 'x86_64-apple-darwin'
py: "cpython-3.13"
optimizations: "pgo"
- target_triple: "x86_64-apple-darwin"
runner: macos-13
py: 'cpython-3.13'
optimizations: 'pgo+lto'
py: "cpython-3.13"
optimizations: "pgo+lto"
needs:
- pythonbuild
runs-on: ${{ matrix.build.runner }}
Expand All @@ -212,7 +217,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: "3.11"

- name: Download pythonbuild
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -241,7 +246,7 @@ jobs:

- uses: actions/checkout@v4
with:
repository: 'phracker/MacOSX-SDKs'
repository: "phracker/MacOSX-SDKs"
ref: master
path: macosx-sdks

Expand Down
Loading