Skip to content

Commit 736ad2f

Browse files
committed
ci: upgrade x86-64 macOS runners macos-11 -> macos-13
The macos-11 runners are deprecated. Let's modernize. This also gets us on the same macOS SDK as the ARM runners.
1 parent 9574f70 commit 736ad2f

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/apple.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- cron: '13 11 * * *'
66
jobs:
77
pythonbuild:
8-
runs-on: 'macos-11'
8+
runs-on: 'macos-13'
99
steps:
1010
- uses: actions/checkout@v4
1111

@@ -130,87 +130,87 @@ jobs:
130130
# noopt because it doesn't provide any compelling advantages over PGO
131131
# or LTO builds.
132132
- target_triple: 'x86_64-apple-darwin'
133-
runner: macos-11
133+
runner: macos-13
134134
py: 'cpython-3.8'
135135
optimizations: 'debug'
136136
- target_triple: 'x86_64-apple-darwin'
137-
runner: macos-11
137+
runner: macos-13
138138
py: 'cpython-3.8'
139139
optimizations: 'lto'
140140
- target_triple: 'x86_64-apple-darwin'
141-
runner: macos-11
141+
runner: macos-13
142142
py: 'cpython-3.8'
143143
optimizations: 'pgo'
144144
- target_triple: 'x86_64-apple-darwin'
145-
runner: macos-11
145+
runner: macos-13
146146
py: 'cpython-3.8'
147147
optimizations: 'pgo+lto'
148148

149149
- target_triple: 'x86_64-apple-darwin'
150-
runner: macos-11
150+
runner: macos-13
151151
py: 'cpython-3.9'
152152
optimizations: 'debug'
153153
- target_triple: 'x86_64-apple-darwin'
154-
runner: macos-11
154+
runner: macos-13
155155
py: 'cpython-3.9'
156156
optimizations: 'lto'
157157
- target_triple: 'x86_64-apple-darwin'
158-
runner: macos-11
158+
runner: macos-13
159159
py: 'cpython-3.9'
160160
optimizations: 'pgo'
161161
- target_triple: 'x86_64-apple-darwin'
162-
runner: macos-11
162+
runner: macos-13
163163
py: 'cpython-3.9'
164164
optimizations: 'pgo+lto'
165165

166166
- target_triple: 'x86_64-apple-darwin'
167-
runner: macos-11
167+
runner: macos-13
168168
py: 'cpython-3.10'
169169
optimizations: 'debug'
170170
- target_triple: 'x86_64-apple-darwin'
171-
runner: macos-11
171+
runner: macos-13
172172
py: 'cpython-3.10'
173173
optimizations: 'lto'
174174
- target_triple: 'x86_64-apple-darwin'
175-
runner: macos-11
175+
runner: macos-13
176176
py: 'cpython-3.10'
177177
optimizations: 'pgo'
178178
- target_triple: 'x86_64-apple-darwin'
179-
runner: macos-11
179+
runner: macos-13
180180
py: 'cpython-3.10'
181181
optimizations: 'pgo+lto'
182182

183183
- target_triple: 'x86_64-apple-darwin'
184-
runner: macos-11
184+
runner: macos-13
185185
py: 'cpython-3.11'
186186
optimizations: 'debug'
187187
- target_triple: 'x86_64-apple-darwin'
188-
runner: macos-11
188+
runner: macos-13
189189
py: 'cpython-3.11'
190190
optimizations: 'lto'
191191
- target_triple: 'x86_64-apple-darwin'
192-
runner: macos-11
192+
runner: macos-13
193193
py: 'cpython-3.11'
194194
optimizations: 'pgo'
195195
- target_triple: 'x86_64-apple-darwin'
196-
runner: macos-11
196+
runner: macos-13
197197
py: 'cpython-3.11'
198198
optimizations: 'pgo+lto'
199199

200200
- target_triple: 'x86_64-apple-darwin'
201-
runner: macos-11
201+
runner: macos-13
202202
py: 'cpython-3.12'
203203
optimizations: 'debug'
204204
- target_triple: 'x86_64-apple-darwin'
205-
runner: macos-11
205+
runner: macos-13
206206
py: 'cpython-3.12'
207207
optimizations: 'lto'
208208
- target_triple: 'x86_64-apple-darwin'
209-
runner: macos-11
209+
runner: macos-13
210210
py: 'cpython-3.12'
211211
optimizations: 'pgo'
212212
- target_triple: 'x86_64-apple-darwin'
213-
runner: macos-11
213+
runner: macos-13
214214
py: 'cpython-3.12'
215215
optimizations: 'pgo+lto'
216216
needs:
@@ -237,7 +237,7 @@ jobs:
237237
if [ "${{ matrix.build.target_triple }}" = "aarch64-apple-darwin" ]; then
238238
export APPLE_SDK_PATH=/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
239239
elif [ "${{ matrix.build.target_triple }}" = "x86_64-apple-darwin" ]; then
240-
export APPLE_SDK_PATH=/Applications/Xcode_12.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk
240+
export APPLE_SDK_PATH=/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
241241
else
242242
echo "unhandled target triple: ${{ matrix.build.target_triple }}"
243243
exit 1

0 commit comments

Comments
 (0)