Skip to content

Commit 6a58ae1

Browse files
authored
Switch to Depot runners in CI (#426)
Otherwise, the jobs here will consume our concurrency limits and block CI organization-wide. The Depot runners will give us greater concurrency limits, and notably, avoid colliding with our GitHub Runner limits — which are very low for macOS in particular. ~Also, uses larger GitHub Actions runners for Windows.~ I've reverted this because there's a new, inexplicable [failure for 32-bit 3.12](https://github.com/astral-sh/python-build-standalone/actions/runs/12381299627/job/34559706602?pr=426) Note that Depot doesn't support x86_64 macOS so we're now cross-compiling those. I previously verified the artifact was correct.
1 parent 12eeb3e commit 6a58ae1

File tree

3 files changed

+6
-42
lines changed

3 files changed

+6
-42
lines changed

.github/workflows/apple.yml

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -46,165 +46,129 @@ jobs:
4646
matrix:
4747
build:
4848
- target_triple: 'aarch64-apple-darwin'
49-
runner: macos-14
5049
py: 'cpython-3.9'
5150
options: 'debug'
5251
- target_triple: 'aarch64-apple-darwin'
53-
runner: macos-14
5452
py: 'cpython-3.9'
5553
options: 'pgo'
5654
- target_triple: 'aarch64-apple-darwin'
57-
runner: macos-14
5855
py: 'cpython-3.9'
5956
options: 'pgo+lto'
6057

6158
- target_triple: 'aarch64-apple-darwin'
62-
runner: macos-14
6359
py: 'cpython-3.10'
6460
options: 'debug'
6561
- target_triple: 'aarch64-apple-darwin'
66-
runner: macos-14
6762
py: 'cpython-3.10'
6863
options: 'pgo'
6964
- target_triple: 'aarch64-apple-darwin'
70-
runner: macos-14
7165
py: 'cpython-3.10'
7266
options: 'pgo+lto'
7367

7468
- target_triple: 'aarch64-apple-darwin'
75-
runner: macos-14
7669
py: 'cpython-3.11'
7770
options: 'debug'
7871
- target_triple: 'aarch64-apple-darwin'
79-
runner: macos-14
8072
py: 'cpython-3.11'
8173
options: 'pgo'
8274
- target_triple: 'aarch64-apple-darwin'
83-
runner: macos-14
8475
py: 'cpython-3.11'
8576
options: 'pgo+lto'
8677

8778
- target_triple: 'aarch64-apple-darwin'
88-
runner: macos-14
8979
py: 'cpython-3.12'
9080
options: 'debug'
9181
- target_triple: 'aarch64-apple-darwin'
92-
runner: macos-14
9382
py: 'cpython-3.12'
9483
options: 'pgo'
9584
- target_triple: 'aarch64-apple-darwin'
96-
runner: macos-14
9785
py: 'cpython-3.12'
9886
options: 'pgo+lto'
9987

10088
- target_triple: 'aarch64-apple-darwin'
101-
runner: macos-14
10289
py: 'cpython-3.13'
10390
options: 'debug'
10491
- target_triple: 'aarch64-apple-darwin'
105-
runner: macos-14
10692
py: 'cpython-3.13'
10793
options: 'pgo'
10894
- target_triple: 'aarch64-apple-darwin'
109-
runner: macos-14
11095
py: 'cpython-3.13'
11196
options: 'pgo+lto'
11297

11398
- target_triple: 'aarch64-apple-darwin'
114-
runner: macos-14
11599
py: 'cpython-3.13'
116100
options: 'freethreaded+debug'
117101
- target_triple: 'aarch64-apple-darwin'
118-
runner: macos-14
119102
py: 'cpython-3.13'
120103
options: 'freethreaded+pgo'
121104
- target_triple: 'aarch64-apple-darwin'
122-
runner: macos-14
123105
py: 'cpython-3.13'
124106
options: 'freethreaded+pgo+lto'
125107

126108
# macOS on Intel hardware. This is pretty straightforward. We exclude
127109
# noopt because it doesn't provide any compelling advantages over PGO
128110
# or LTO builds.
129111
- target_triple: 'x86_64-apple-darwin'
130-
runner: macos-13
131112
py: 'cpython-3.9'
132113
options: 'debug'
133114
- target_triple: 'x86_64-apple-darwin'
134-
runner: macos-13
135115
py: 'cpython-3.9'
136116
options: 'pgo'
137117
- target_triple: 'x86_64-apple-darwin'
138-
runner: macos-13
139118
py: 'cpython-3.9'
140119
options: 'pgo+lto'
141120

142121
- target_triple: 'x86_64-apple-darwin'
143-
runner: macos-13
144122
py: 'cpython-3.10'
145123
options: 'debug'
146124
- target_triple: 'x86_64-apple-darwin'
147-
runner: macos-13
148125
py: 'cpython-3.10'
149126
options: 'pgo'
150127
- target_triple: 'x86_64-apple-darwin'
151-
runner: macos-13
152128
py: 'cpython-3.10'
153129
options: 'pgo+lto'
154130

155131
- target_triple: 'x86_64-apple-darwin'
156-
runner: macos-13
157132
py: 'cpython-3.11'
158133
options: 'debug'
159134
- target_triple: 'x86_64-apple-darwin'
160-
runner: macos-13
161135
py: 'cpython-3.11'
162136
options: 'pgo'
163137
- target_triple: 'x86_64-apple-darwin'
164-
runner: macos-13
165138
py: 'cpython-3.11'
166139
options: 'pgo+lto'
167140

168141
- target_triple: 'x86_64-apple-darwin'
169-
runner: macos-13
170142
py: 'cpython-3.12'
171143
options: 'debug'
172144
- target_triple: 'x86_64-apple-darwin'
173-
runner: macos-13
174145
py: 'cpython-3.12'
175146
options: 'pgo'
176147
- target_triple: 'x86_64-apple-darwin'
177-
runner: macos-13
178148
py: 'cpython-3.12'
179149
options: 'pgo+lto'
180150

181151
- target_triple: 'x86_64-apple-darwin'
182-
runner: macos-13
183152
py: 'cpython-3.13'
184153
options: 'debug'
185154
- target_triple: 'x86_64-apple-darwin'
186-
runner: macos-13
187155
py: 'cpython-3.13'
188156
options: 'pgo'
189157
- target_triple: 'x86_64-apple-darwin'
190-
runner: macos-13
191158
py: 'cpython-3.13'
192159
options: 'pgo+lto'
193160
- target_triple: 'x86_64-apple-darwin'
194-
runner: macos-13
195161
py: 'cpython-3.13'
196162
options: 'freethreaded+debug'
197163
- target_triple: 'x86_64-apple-darwin'
198-
runner: macos-13
199164
py: 'cpython-3.13'
200165
options: 'freethreaded+pgo'
201166
- target_triple: 'x86_64-apple-darwin'
202-
runner: macos-13
203167
py: 'cpython-3.13'
204168
options: 'freethreaded+pgo+lto'
205169
needs:
206170
- pythonbuild
207-
runs-on: ${{ matrix.build.runner }}
171+
runs-on: depot-macos-14
208172
steps:
209173
- uses: actions/checkout@v4
210174
with:

.github/workflows/linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414

1515
jobs:
1616
pythonbuild:
17-
runs-on: ubuntu-22.04
17+
runs-on: depot-ubuntu-22.04
1818
steps:
1919
- name: Install System Dependencies
2020
run: |
@@ -55,7 +55,7 @@ jobs:
5555
- gcc
5656
- xcb
5757
- xcb.cross
58-
runs-on: ubuntu-22.04
58+
runs-on: depot-ubuntu-22.04
5959
permissions:
6060
packages: write
6161
steps:
@@ -725,7 +725,7 @@ jobs:
725725
needs:
726726
- pythonbuild
727727
- image
728-
runs-on: ubuntu-22.04
728+
runs-on: depot-ubuntu-22.04
729729
steps:
730730
- uses: actions/checkout@v4
731731
with:
@@ -1087,7 +1087,7 @@ jobs:
10871087
needs:
10881088
- pythonbuild
10891089
- image
1090-
runs-on: ubuntu-22.04
1090+
runs-on: depot-ubuntu-22.04
10911091

10921092
# The above should remain an exact duplicate of the `build` job
10931093
steps:

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
options: 'freethreaded+pgo'
6666

6767
needs: pythonbuild
68-
runs-on: 'windows-2022'
68+
runs-on: windows-2022
6969
steps:
7070
- uses: actions/checkout@v4
7171
with:

0 commit comments

Comments
 (0)