File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 60
60
- i686-pc-windows-msvc/msvc
61
61
- x86_64-pc-windows-msvc/msvc
62
62
- aarch64-pc-windows-msvc/msvc
63
- - x86_64-apple-darwin/clang
63
+ - x86_64-apple-darwin-rosetta /clang
64
64
- aarch64-apple-darwin/clang
65
65
- x86_64-unknown-linux-gnu/gcc
66
66
- aarch64-unknown-linux-gnu/gcc
79
79
- target : aarch64-pc-windows-msvc/msvc
80
80
architecture : ARM64
81
81
runner : windows-11-arm
82
- - target : x86_64-apple-darwin/clang
82
+ - target : x86_64-apple-darwin-rosetta /clang
83
83
architecture : x86_64
84
- runner : macos-13
84
+ runner : macos-14
85
85
- target : aarch64-apple-darwin/clang
86
86
architecture : aarch64
87
87
runner : macos-14
@@ -122,7 +122,13 @@ jobs:
122
122
export CFLAGS_JIT='-Werror=unguarded-availability'
123
123
export MACOSX_DEPLOYMENT_TARGET=10.15
124
124
./configure --enable-experimental-jit --enable-universalsdk --with-universal-archs=universal2 ${{ matrix.debug && '--with-pydebug' || '' }}
125
- make all --jobs 4
125
+ # Use Rosetta for x86_64 builds on ARM runners because of
126
+ # the deprecation of x86_64 support for GitHub-hosted macOS runners
127
+ if [[ "${{ matrix.architecture }}" == "x86_64" && "$(uname -m)" == "arm64" ]]; then
128
+ arch -x86_64 make all --jobs 4
129
+ else
130
+ make all --jobs 4
131
+ fi
126
132
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
127
133
128
134
- name : Linux
You can’t perform that action at this time.
0 commit comments