File tree Expand file tree Collapse file tree 5 files changed +10
-21
lines changed Expand file tree Collapse file tree 5 files changed +10
-21
lines changed Original file line number Diff line number Diff line change 1
1
self-hosted-runner :
2
2
# Pending https://github.com/rhysd/actionlint/issues/533
3
- labels : ["windows-11-arm"]
3
+ # and https://github.com/rhysd/actionlint/issues/571
4
+ labels : ["windows-11-arm", "macos-15-intel"]
4
5
5
6
config-variables : null
6
7
Original file line number Diff line number Diff line change @@ -202,13 +202,13 @@ jobs:
202
202
strategy :
203
203
fail-fast : false
204
204
matrix :
205
- # Cirrus and macos-14 are M1, macos-13 is default GHA Intel.
205
+ # Cirrus and macos-14 are M1, macos-15-intel is default GHA Intel.
206
206
# macOS 13 only runs tests against the GIL-enabled CPython.
207
207
# Cirrus used for upstream, macos-14 for forks.
208
208
os :
209
209
- ghcr.io/cirruslabs/macos-runner:sonoma
210
210
- macos-14
211
- - macos-13
211
+ - macos-15-intel
212
212
is-fork : # only used for the exclusion trick
213
213
- ${{ github.repository_owner != 'python' }}
214
214
free-threading :
@@ -219,7 +219,7 @@ jobs:
219
219
is-fork : true
220
220
- os : macos-14
221
221
is-fork : false
222
- - os : macos-13
222
+ - os : macos-15-intel
223
223
free-threading : true
224
224
uses : ./.github/workflows/reusable-macos.yml
225
225
with :
Original file line number Diff line number Diff line change 81
81
runner : windows-11-arm
82
82
- target : x86_64-apple-darwin/clang
83
83
architecture : x86_64
84
- runner : macos-13
84
+ runner : macos-15-intel
85
85
- target : aarch64-apple-darwin/clang
86
86
architecture : aarch64
87
87
runner : macos-14
@@ -106,15 +106,10 @@ jobs:
106
106
./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }}
107
107
./PCbuild/rt.bat ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
108
108
109
- # The `find` line is required as a result of https://github.com/actions/runner-images/issues/9966.
110
- # This is a bug in the macOS runner image where the pre-installed Python is installed in the same
111
- # directory as the Homebrew Python, which causes the build to fail for macos-13. This line removes
112
- # the symlink to the pre-installed Python so that the Homebrew Python is used instead.
113
109
- name : macOS
114
110
if : runner.os == 'macOS'
115
111
run : |
116
112
brew update
117
- find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
118
113
brew install llvm@${{ matrix.llvm }}
119
114
export SDKROOT="$(xcrun --show-sdk-path)"
120
115
# Set MACOSX_DEPLOYMENT_TARGET and -Werror=unguarded-availability to
Original file line number Diff line number Diff line change @@ -60,15 +60,15 @@ jobs:
60
60
--prefix=/opt/python-dev \
61
61
--with-openssl="$(brew --prefix [email protected] )"
62
62
- name : Build CPython
63
- if : ${{ inputs.free-threading || inputs.os != 'macos-13 ' }}
63
+ if : ${{ inputs.free-threading || inputs.os != 'macos-15-intel ' }}
64
64
run : gmake -j8
65
65
- name : Build CPython for compiler warning check
66
- if : ${{ !inputs.free-threading && inputs.os == 'macos-13 ' }}
66
+ if : ${{ !inputs.free-threading && inputs.os == 'macos-15-intel ' }}
67
67
run : set -o pipefail; gmake -j8 --output-sync 2>&1 | tee compiler_output_macos.txt
68
68
- name : Display build info
69
69
run : make pythoninfo
70
70
- name : Check compiler warnings
71
- if : ${{ !inputs.free-threading && inputs.os == 'macos-13 ' }}
71
+ if : ${{ !inputs.free-threading && inputs.os == 'macos-15-intel ' }}
72
72
run : >-
73
73
python3 Tools/build/check_warnings.py
74
74
--compiler-output-file-path=compiler_output_macos.txt
Original file line number Diff line number Diff line change 58
58
# runner: windows-2022
59
59
- target : x86_64-apple-darwin/clang
60
60
architecture : x86_64
61
- runner : macos-13
61
+ runner : macos-15-intel
62
62
- target : aarch64-apple-darwin/clang
63
63
architecture : aarch64
64
64
runner : macos-14
@@ -101,17 +101,10 @@ jobs:
101
101
set LLVMInstallDir=C:\Program Files\LLVM
102
102
./PCbuild/build.bat --tail-call-interp -p ${{ matrix.architecture }}
103
103
104
- # The `find` line is required as a result of https://github.com/actions/runner-images/issues/9966.
105
- # This is a bug in the macOS runner image where the pre-installed Python is installed in the same
106
- # directory as the Homebrew Python, which causes the build to fail for macos-13. This line removes
107
- # the symlink to the pre-installed Python so that the Homebrew Python is used instead.
108
- # Note: when a new LLVM is released, the homebrew installation directory changes, so the builds will fail.
109
- # We either need to upgrade LLVM or change the directory being pointed to.
110
104
- name : Native macOS (release)
111
105
if : runner.os == 'macOS'
112
106
run : |
113
107
brew update
114
- find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
115
108
brew install llvm@${{ matrix.llvm }}
116
109
export SDKROOT="$(xcrun --show-sdk-path)"
117
110
export PATH="/usr/local/opt/llvm@${{ matrix.llvm }}/bin:$PATH"
You can’t perform that action at this time.
0 commit comments