2222
2323 VERSIONER_PERL_VERSION : ' 5.30' # macOS default Perl installation uses this to determine which one to use
2424
25- vi_cv_path_python : /usr/local /bin/python
25+ vi_cv_path_python : /Library/Frameworks/Python.framework/Versions/2.7 /bin/python
2626 vi_cv_path_python3 : /usr/local/bin/python3
2727 vi_cv_path_plain_lua : /usr/local/bin/lua
2828 vi_cv_path_ruby : /usr/local/opt/ruby/bin/ruby
2929 vi_cv_dll_name_perl : /System/Library/Perl/%s/darwin-thread-multi-2level/CORE/libperl.dylib
30- vi_cv_dll_name_python : /usr/local /Frameworks/Python.framework/Versions/2.7/Python
30+ vi_cv_dll_name_python : /Library /Frameworks/Python.framework/Versions/2.7/Python
3131 vi_cv_dll_name_python3 : /usr/local/Frameworks/Python.framework/Versions/Current/Python
3232 vi_cv_dll_name_python3_arm64 : /opt/homebrew/Frameworks/Python.framework/Versions/Current/Python
3333 vi_cv_dll_name_ruby : /usr/local/opt/ruby/lib/libruby.dylib
3434 vi_cv_dll_name_ruby_arm64 : /opt/homebrew/opt/ruby/lib/libruby.dylib
35+ vi_cv_dll_name_lua : /usr/local/lib/liblua.dylib
3536 vi_cv_dll_name_lua_arm64 : /opt/homebrew/lib/liblua.dylib
3637
3738 MACVIM_APP : src/MacVim/build/Release/MacVim.app
6364 publish_postfix : ' _10.9'
6465
6566 # Most up to date OS and Xcode. Used to publish release for the main build.
66- - os : macos-12
67- xcode : ' 14.2 '
67+ - os : macos-13
68+ xcode : ' 15.0 '
6869 publish : true
6970
7071 runs-on : ${{ matrix.os }}
@@ -129,12 +130,6 @@ jobs:
129130 brew install ruby
130131 brew install lua
131132
132- # CI sometimes have custom installed Python instead of using Homebrew. Forcefully re-
133- # link Python, and then check that we are using the Homebrew version. This avoids us
134- # using a mystery Python installation that we don't control.
135- brew unlink python3 && brew link --overwrite python3
136- readlink -f $vi_cv_path_python3 | grep "^$(brew --cellar python3)"
137-
138133 if [[ -d /usr/local/Cellar/perl ]]; then
139134 # We just use system perl to reduce dependencies
140135 brew unlink perl
@@ -143,6 +138,17 @@ jobs:
143138 # With Perl, we need to manually specify the version number because the dylib path depends on it.
144139 echo "vi_cv_dll_name_perl=$(printf $vi_cv_dll_name_perl $VERSIONER_PERL_VERSION)" >> $GITHUB_ENV
145140
141+ # New runner images (macos-13) no longer have Python2 installed. We
142+ # need to install Python2 manually. Installing from the official
143+ # installer is the easiest way as Homebrew no longer ships python@2
144+ # and this way does not invole manual building from source. We
145+ # mostly only need the headers to build a dynamic build anyway.
146+ #
147+ # This will be removed in the future as Python2 has been completely
148+ # unsupported for years.
149+ curl https://www.python.org/ftp/python/2.7.16/python-2.7.16-macosx10.9.pkg -o ~/Downloads/python-2.7.16-macosx10.9.pkg
150+ sudo installer -pkg ~/Downloads/python-2.7.16-macosx10.9.pkg -target /
151+
146152 # All set up steps are done. Build and test MacVim below.
147153
148154 - name : Configure
@@ -273,7 +279,7 @@ jobs:
273279 macvim_excmd -c 'lang es_ES' -c 'version' | grep Enlazado
274280
275281 # Check that libsodium is working
276- macvim_excmd -c 'set cryptmethod=xchacha20 '
282+ macvim_excmd -c 'set cryptmethod=xchacha20v2 '
277283
278284 # Make sure we are building universal x86_64 / arm64 builds and didn't accidentally create a thin app.
279285 check_arch() {
0 commit comments