Skip to content

Commit 6fb4797

Browse files
committed
Add support for macos-15 for CI
Make sure to use Xcode 16.2 which fixed a clang compiler bug which would generate incorrect optimized code in the 8g8 feature. Turn off macos-12 because that has now been removed by GitHub Actions. We will need to find an alternative way to build official legacy binary releases. Also, update Perl version to 5.34 as macOS-15 doesn't come with 5.30 anymore. Perl 5.34 has been installed on macOS 13 and above. Should not be a huge deal as Perl isn't commonly used for plugins.
1 parent d25ae00 commit 6fb4797

1 file changed

Lines changed: 20 additions & 16 deletions

File tree

.github/workflows/ci-macvim.yaml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222

2323
MAKE_BUILD_ARGS: LINK_AS_NEEDED=yes # In macOS we never over-specify link dependencies and we already check against external deps in smoketest. With LTO, linking takes a while, so we want to avoid using link.sh.
2424

25-
VERSIONER_PERL_VERSION: '5.30' # macOS default Perl installation uses this to determine which one to use
25+
VERSIONER_PERL_VERSION: '5.34' # macOS default Perl installation uses this to determine which one to use
2626

2727
vi_cv_path_python: /Library/Frameworks/Python.framework/Versions/2.7/bin/python
2828
vi_cv_path_python3: "%s/bin/python3"
@@ -53,27 +53,31 @@ jobs:
5353
fail-fast: false
5454
matrix:
5555
include:
56-
# Oldest version of Xcode supported on GitHub Action to test source code backwards compatibility
57-
# This version of Xcode can run on macOS 11 where as 13.3 has to run on macOS 12.
58-
- os: macos-12
59-
xcode: '13.2.1'
60-
extra: [vimtags, check-xcodeproj-compat]
61-
62-
# Older version of Xcode, and used to publish legacy builds (for macOS 10.9 - 10.12)
63-
- os: macos-12
64-
xcode: '14.0' # last version of Xcode that uses the macOS 12 SDK, which still supports deploying to macOS 10.9
65-
publish: true
66-
legacy: true
67-
publish_postfix: '_10.9'
56+
# # Oldest version of Xcode supported on GitHub Action to test source code backwards compatibility
57+
# # This version of Xcode can run on macOS 11 where as 13.3 has to run on macOS 12.
58+
# - os: macos-12
59+
# xcode: '13.2.1'
60+
# extra: [vimtags, check-xcodeproj-compat]
61+
#
62+
# # Older version of Xcode, and used to publish legacy builds (for macOS 10.9 - 10.12)
63+
# - os: macos-12
64+
# xcode: '14.0' # last version of Xcode that uses the macOS 12 SDK, which still supports deploying to macOS 10.9
65+
# publish: true
66+
# legacy: true
67+
# publish_postfix: '_10.9'
6868

6969
- os: macos-13
7070
xcode: '15.2'
71+
extra: [vimtags, check-xcodeproj-compat]
72+
73+
# Below runners use Apple Silicon.
74+
- os: macos-14
75+
xcode: '15.4'
7176
optimized: true
7277

7378
# Most up to date OS and Xcode. Used to publish release for the main build.
74-
# This runner uses Apple Silicon.
75-
- os: macos-14
76-
xcode: '15.2'
79+
- os: macos-15
80+
xcode: '16.2'
7781
publish: true
7882
optimized: true
7983

0 commit comments

Comments
 (0)