Skip to content

Commit 4ec9a1b

Browse files
committed
TMP: Cancel in progress workflows
1 parent c445bc4 commit 4ec9a1b

File tree

3 files changed

+882
-867
lines changed

3 files changed

+882
-867
lines changed

.github/workflows/apple.yml

+117-112
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,15 @@ on:
44
push:
55
pull_request:
66
schedule:
7-
- cron: '13 11 * * *'
7+
- cron: "13 11 * * *"
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
813
jobs:
914
pythonbuild:
10-
runs-on: 'macos-13'
15+
runs-on: "macos-13"
1116
steps:
1217
- uses: actions/checkout@v4
1318

@@ -43,164 +48,164 @@ jobs:
4348
fail-fast: false
4449
matrix:
4550
build:
46-
- target_triple: 'aarch64-apple-darwin'
51+
- target_triple: "aarch64-apple-darwin"
4752
runner: macos-14
48-
py: 'cpython-3.8'
49-
optimizations: 'debug'
50-
- target_triple: 'aarch64-apple-darwin'
53+
py: "cpython-3.8"
54+
optimizations: "debug"
55+
- target_triple: "aarch64-apple-darwin"
5156
runner: macos-14
52-
py: 'cpython-3.8'
53-
optimizations: 'pgo'
54-
- target_triple: 'aarch64-apple-darwin'
57+
py: "cpython-3.8"
58+
optimizations: "pgo"
59+
- target_triple: "aarch64-apple-darwin"
5560
runner: macos-14
56-
py: 'cpython-3.8'
57-
optimizations: 'pgo+lto'
61+
py: "cpython-3.8"
62+
optimizations: "pgo+lto"
5863

59-
- target_triple: 'aarch64-apple-darwin'
64+
- target_triple: "aarch64-apple-darwin"
6065
runner: macos-14
61-
py: 'cpython-3.9'
62-
optimizations: 'debug'
63-
- target_triple: 'aarch64-apple-darwin'
66+
py: "cpython-3.9"
67+
optimizations: "debug"
68+
- target_triple: "aarch64-apple-darwin"
6469
runner: macos-14
65-
py: 'cpython-3.9'
66-
optimizations: 'pgo'
67-
- target_triple: 'aarch64-apple-darwin'
70+
py: "cpython-3.9"
71+
optimizations: "pgo"
72+
- target_triple: "aarch64-apple-darwin"
6873
runner: macos-14
69-
py: 'cpython-3.9'
70-
optimizations: 'pgo+lto'
74+
py: "cpython-3.9"
75+
optimizations: "pgo+lto"
7176

72-
- target_triple: 'aarch64-apple-darwin'
77+
- target_triple: "aarch64-apple-darwin"
7378
runner: macos-14
74-
py: 'cpython-3.10'
75-
optimizations: 'debug'
76-
- target_triple: 'aarch64-apple-darwin'
79+
py: "cpython-3.10"
80+
optimizations: "debug"
81+
- target_triple: "aarch64-apple-darwin"
7782
runner: macos-14
78-
py: 'cpython-3.10'
79-
optimizations: 'pgo'
80-
- target_triple: 'aarch64-apple-darwin'
83+
py: "cpython-3.10"
84+
optimizations: "pgo"
85+
- target_triple: "aarch64-apple-darwin"
8186
runner: macos-14
82-
py: 'cpython-3.10'
83-
optimizations: 'pgo+lto'
87+
py: "cpython-3.10"
88+
optimizations: "pgo+lto"
8489

85-
- target_triple: 'aarch64-apple-darwin'
90+
- target_triple: "aarch64-apple-darwin"
8691
runner: macos-14
87-
py: 'cpython-3.11'
88-
optimizations: 'debug'
89-
- target_triple: 'aarch64-apple-darwin'
92+
py: "cpython-3.11"
93+
optimizations: "debug"
94+
- target_triple: "aarch64-apple-darwin"
9095
runner: macos-14
91-
py: 'cpython-3.11'
92-
optimizations: 'pgo'
93-
- target_triple: 'aarch64-apple-darwin'
96+
py: "cpython-3.11"
97+
optimizations: "pgo"
98+
- target_triple: "aarch64-apple-darwin"
9499
runner: macos-14
95-
py: 'cpython-3.11'
96-
optimizations: 'pgo+lto'
100+
py: "cpython-3.11"
101+
optimizations: "pgo+lto"
97102

98-
- target_triple: 'aarch64-apple-darwin'
103+
- target_triple: "aarch64-apple-darwin"
99104
runner: macos-14
100-
py: 'cpython-3.12'
101-
optimizations: 'debug'
102-
- target_triple: 'aarch64-apple-darwin'
105+
py: "cpython-3.12"
106+
optimizations: "debug"
107+
- target_triple: "aarch64-apple-darwin"
103108
runner: macos-14
104-
py: 'cpython-3.12'
105-
optimizations: 'pgo'
106-
- target_triple: 'aarch64-apple-darwin'
109+
py: "cpython-3.12"
110+
optimizations: "pgo"
111+
- target_triple: "aarch64-apple-darwin"
107112
runner: macos-14
108-
py: 'cpython-3.12'
109-
optimizations: 'pgo+lto'
113+
py: "cpython-3.12"
114+
optimizations: "pgo+lto"
110115

111-
- target_triple: 'aarch64-apple-darwin'
116+
- target_triple: "aarch64-apple-darwin"
112117
runner: macos-14
113-
py: 'cpython-3.13'
114-
optimizations: 'debug'
115-
- target_triple: 'aarch64-apple-darwin'
118+
py: "cpython-3.13"
119+
optimizations: "debug"
120+
- target_triple: "aarch64-apple-darwin"
116121
runner: macos-14
117-
py: 'cpython-3.13'
118-
optimizations: 'pgo'
119-
- target_triple: 'aarch64-apple-darwin'
122+
py: "cpython-3.13"
123+
optimizations: "pgo"
124+
- target_triple: "aarch64-apple-darwin"
120125
runner: macos-14
121-
py: 'cpython-3.13'
122-
optimizations: 'pgo+lto'
126+
py: "cpython-3.13"
127+
optimizations: "pgo+lto"
123128

124129
# macOS on Intel hardware. This is pretty straightforward. We exclude
125130
# noopt because it doesn't provide any compelling advantages over PGO
126131
# or LTO builds.
127-
- target_triple: 'x86_64-apple-darwin'
132+
- target_triple: "x86_64-apple-darwin"
128133
runner: macos-13
129-
py: 'cpython-3.8'
130-
optimizations: 'debug'
131-
- target_triple: 'x86_64-apple-darwin'
134+
py: "cpython-3.8"
135+
optimizations: "debug"
136+
- target_triple: "x86_64-apple-darwin"
132137
runner: macos-13
133-
py: 'cpython-3.8'
134-
optimizations: 'pgo'
135-
- target_triple: 'x86_64-apple-darwin'
138+
py: "cpython-3.8"
139+
optimizations: "pgo"
140+
- target_triple: "x86_64-apple-darwin"
136141
runner: macos-13
137-
py: 'cpython-3.8'
138-
optimizations: 'pgo+lto'
142+
py: "cpython-3.8"
143+
optimizations: "pgo+lto"
139144

140-
- target_triple: 'x86_64-apple-darwin'
145+
- target_triple: "x86_64-apple-darwin"
141146
runner: macos-13
142-
py: 'cpython-3.9'
143-
optimizations: 'debug'
144-
- target_triple: 'x86_64-apple-darwin'
147+
py: "cpython-3.9"
148+
optimizations: "debug"
149+
- target_triple: "x86_64-apple-darwin"
145150
runner: macos-13
146-
py: 'cpython-3.9'
147-
optimizations: 'pgo'
148-
- target_triple: 'x86_64-apple-darwin'
151+
py: "cpython-3.9"
152+
optimizations: "pgo"
153+
- target_triple: "x86_64-apple-darwin"
149154
runner: macos-13
150-
py: 'cpython-3.9'
151-
optimizations: 'pgo+lto'
155+
py: "cpython-3.9"
156+
optimizations: "pgo+lto"
152157

153-
- target_triple: 'x86_64-apple-darwin'
158+
- target_triple: "x86_64-apple-darwin"
154159
runner: macos-13
155-
py: 'cpython-3.10'
156-
optimizations: 'debug'
157-
- target_triple: 'x86_64-apple-darwin'
160+
py: "cpython-3.10"
161+
optimizations: "debug"
162+
- target_triple: "x86_64-apple-darwin"
158163
runner: macos-13
159-
py: 'cpython-3.10'
160-
optimizations: 'pgo'
161-
- target_triple: 'x86_64-apple-darwin'
164+
py: "cpython-3.10"
165+
optimizations: "pgo"
166+
- target_triple: "x86_64-apple-darwin"
162167
runner: macos-13
163-
py: 'cpython-3.10'
164-
optimizations: 'pgo+lto'
168+
py: "cpython-3.10"
169+
optimizations: "pgo+lto"
165170

166-
- target_triple: 'x86_64-apple-darwin'
171+
- target_triple: "x86_64-apple-darwin"
167172
runner: macos-13
168-
py: 'cpython-3.11'
169-
optimizations: 'debug'
170-
- target_triple: 'x86_64-apple-darwin'
173+
py: "cpython-3.11"
174+
optimizations: "debug"
175+
- target_triple: "x86_64-apple-darwin"
171176
runner: macos-13
172-
py: 'cpython-3.11'
173-
optimizations: 'pgo'
174-
- target_triple: 'x86_64-apple-darwin'
177+
py: "cpython-3.11"
178+
optimizations: "pgo"
179+
- target_triple: "x86_64-apple-darwin"
175180
runner: macos-13
176-
py: 'cpython-3.11'
177-
optimizations: 'pgo+lto'
181+
py: "cpython-3.11"
182+
optimizations: "pgo+lto"
178183

179-
- target_triple: 'x86_64-apple-darwin'
184+
- target_triple: "x86_64-apple-darwin"
180185
runner: macos-13
181-
py: 'cpython-3.12'
182-
optimizations: 'debug'
183-
- target_triple: 'x86_64-apple-darwin'
186+
py: "cpython-3.12"
187+
optimizations: "debug"
188+
- target_triple: "x86_64-apple-darwin"
184189
runner: macos-13
185-
py: 'cpython-3.12'
186-
optimizations: 'pgo'
187-
- target_triple: 'x86_64-apple-darwin'
190+
py: "cpython-3.12"
191+
optimizations: "pgo"
192+
- target_triple: "x86_64-apple-darwin"
188193
runner: macos-13
189-
py: 'cpython-3.12'
190-
optimizations: 'pgo+lto'
194+
py: "cpython-3.12"
195+
optimizations: "pgo+lto"
191196

192-
- target_triple: 'x86_64-apple-darwin'
197+
- target_triple: "x86_64-apple-darwin"
193198
runner: macos-13
194-
py: 'cpython-3.13'
195-
optimizations: 'debug'
196-
- target_triple: 'x86_64-apple-darwin'
199+
py: "cpython-3.13"
200+
optimizations: "debug"
201+
- target_triple: "x86_64-apple-darwin"
197202
runner: macos-13
198-
py: 'cpython-3.13'
199-
optimizations: 'pgo'
200-
- target_triple: 'x86_64-apple-darwin'
203+
py: "cpython-3.13"
204+
optimizations: "pgo"
205+
- target_triple: "x86_64-apple-darwin"
201206
runner: macos-13
202-
py: 'cpython-3.13'
203-
optimizations: 'pgo+lto'
207+
py: "cpython-3.13"
208+
optimizations: "pgo+lto"
204209
needs:
205210
- pythonbuild
206211
runs-on: ${{ matrix.build.runner }}
@@ -212,7 +217,7 @@ jobs:
212217
- name: Install Python
213218
uses: actions/setup-python@v5
214219
with:
215-
python-version: '3.11'
220+
python-version: "3.11"
216221

217222
- name: Download pythonbuild
218223
uses: actions/download-artifact@v4
@@ -241,7 +246,7 @@ jobs:
241246

242247
- uses: actions/checkout@v4
243248
with:
244-
repository: 'phracker/MacOSX-SDKs'
249+
repository: "phracker/MacOSX-SDKs"
245250
ref: master
246251
path: macosx-sdks
247252

0 commit comments

Comments
 (0)