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 @@ -249,13 +249,13 @@ jobs:
249
249
strategy :
250
250
fail-fast : false
251
251
matrix :
252
- # Cirrus and macos-14 are M1, macos-13 is default GHA Intel.
252
+ # Cirrus and macos-14 are M1, macos-15-intel is default GHA Intel.
253
253
# macOS 13 only runs tests against the GIL-enabled CPython.
254
254
# Cirrus used for upstream, macos-14 for forks.
255
255
os :
256
256
- ghcr.io/cirruslabs/macos-runner:sonoma
257
257
- macos-14
258
- - macos-13
258
+ - macos-15-intel
259
259
is-fork : # only used for the exclusion trick
260
260
- ${{ github.repository_owner != 'python' }}
261
261
free-threading :
@@ -266,7 +266,7 @@ jobs:
266
266
is-fork : true
267
267
- os : macos-14
268
268
is-fork : false
269
- - os : macos-13
269
+ - os : macos-15-intel
270
270
free-threading : true
271
271
uses : ./.github/workflows/reusable-macos.yml
272
272
with :
Original file line number Diff line number Diff line change 77
77
runner : windows-11-arm
78
78
- target : x86_64-apple-darwin/clang
79
79
architecture : x86_64
80
- runner : macos-13
80
+ runner : macos-15-intel
81
81
- target : aarch64-apple-darwin/clang
82
82
architecture : aarch64
83
83
runner : macos-14
@@ -102,15 +102,10 @@ jobs:
102
102
./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }}
103
103
./PCbuild/rt.bat ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
104
104
105
- # The `find` line is required as a result of https://github.com/actions/runner-images/issues/9966.
106
- # This is a bug in the macOS runner image where the pre-installed Python is installed in the same
107
- # directory as the Homebrew Python, which causes the build to fail for macos-13. This line removes
108
- # the symlink to the pre-installed Python so that the Homebrew Python is used instead.
109
105
- name : macOS
110
106
if : runner.os == 'macOS'
111
107
run : |
112
108
brew update
113
- find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
114
109
brew install llvm@${{ matrix.llvm }}
115
110
export SDKROOT="$(xcrun --show-sdk-path)"
116
111
# 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