Skip to content

Commit

Permalink
Merge pull request #1452 from ychin/use-new-xcodeproj-format
Browse files Browse the repository at this point in the history
Update xcodeproj version, generate a compatible one for Xcode 8+
  • Loading branch information
ychin authored Oct 22, 2023
2 parents bb85aff + ecea5ea commit b0ba0b9
Show file tree
Hide file tree
Showing 6 changed files with 1,417 additions and 8 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/ci-macvim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# Oldest version of Xcode supported on GitHub Action to test source code backwards compatibility
- os: macos-11
xcode: '11.7'
extra: [vimtags]
extra: [vimtags, check-xcodeproj-compat]

# Older version of Xcode, and used to publish legacy builds (for macOS 10.9 - 10.12)
- os: macos-12
Expand Down Expand Up @@ -300,6 +300,16 @@ jobs:
make -C runtime/doc vimtags VIMEXE=../../${VIM_BIN}
git diff --exit-code -- runtime/doc/tags
- name: Check Xcode project compatibility version
if: contains(matrix.extra, 'check-xcodeproj-compat')
run: |
# Confirm that the compatibility version of xcodeproj is correct and not outdated.
rm -rf src/MacVim/MacVim_xcode8.xcodeproj
make -C src macvim-xcodeproj-compat
if ! git diff --exit-code -- src/MacVim/MacVim_xcode8.xcodeproj; then
echo 'MacVim_xcode8.xcodeproj is outdated. Run "make -C src macvim-xcodeproj-compat" to re-generate it.'; false
fi
- name: Build test binaries
run: |
# Build the unit test binaries first. With link-time-optimization they take some time to link. Running them
Expand Down
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ src/kword_test
# From MacVim
.*.swp
.DS_Store
src/MacVim/MacVim.xcodeproj/*.mode1
src/MacVim/MacVim.xcodeproj/*.mode1v3
src/MacVim/MacVim.xcodeproj/*.pbxuser
src/MacVim/MacVim.xcodeproj/project.xcworkspace
src/MacVim/MacVim.xcodeproj/xcuserdata
src/MacVim/MacVim*.xcodeproj/*.mode1
src/MacVim/MacVim*.xcodeproj/*.mode1v3
src/MacVim/MacVim*.xcodeproj/*.pbxuser
src/MacVim/MacVim*.xcodeproj/project.xcworkspace
src/MacVim/MacVim*.xcodeproj/xcuserdata
src/MacVim/icons/*.pyc
src/MacVim/icons/*.ttf
src/MacVim/icons/*.reg
Expand Down
2 changes: 1 addition & 1 deletion src/MacVim/MacVim.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 47;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down
Loading

0 comments on commit b0ba0b9

Please sign in to comment.