8000 [3.12] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119987) · python/cpython@0480fd6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0480fd6

Browse files
ambvewdurbin
andauthored
[3.12] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119987)
(cherry picked from commit 6acb32f) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Ee Durbin <ee@python.org>
1 parent 059be67 commit 0480fd6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ jobs:
228228
uses: ./.github/workflows/reusable-macos.yml
229229
with:
230230
config_hash: ${{ needs.check_source.outputs.config_hash }}
231+
# Cirrus is M1, macos-13 is default GHA Intel
232+
os-matrix: '["ghcr.io/cirruslabs/macos-runner:sonoma", "macos-13"]'
231233

232234
build_ubuntu:
233235
name: 'Ubuntu'

.github/workflows/reusable-macos.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
required: false
99
type: boolean
1010
default: false
11+
os-matrix:
12+
required: false
13+
type: string
1114

1215
jobs:
1316
build_macos:
@@ -22,10 +25,7 @@ jobs:
2225
strategy:
2326
fail-fast: false
2427
matrix:
25-
os: [
26-
"macos-14", # M1
27-
"macos-13", # Intel
28-
]
28+
os: ${{fromJson(inputs.os-matrix)}}
2929
runs-on: ${{ matrix.os }}
3030
steps:
3131
- uses: actions/checkout@v4

Lib/asyncio/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class AsyncIOInteractiveConsole(code.InteractiveConsole):
1616
def __init__(self, locals, loop):
1717
super().__init__(locals)
1818
self.compile.compiler.flags |= ast.PyCF_ALLOW_TOP_LEVEL_AWAIT
19-
2019
self.loop = loop
2120

2221
def runcode(self, code):

0 commit comments

Comments
 (0)
0