Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .github/workflows/ci-macvim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,19 @@ jobs:

- os: macos-13
xcode: '15.2'
testgui: true
extra: [vimtags, check-xcodeproj-compat]

# Below runners use Apple Silicon.
- os: macos-14
xcode: '15.4'
testgui: false
optimized: true

# Most up to date OS and Xcode. Used to publish release for the main build.
- os: macos-15
xcode: '16.2'
testgui: true
publish: true
optimized: true

Expand Down Expand Up @@ -351,12 +354,13 @@ jobs:
fi

- name: Test MacVim
id: test_macvim
timeout-minutes: 10
run: |
make ${MAKE_BUILD_ARGS} -C src macvim-tests

- name: Upload failed MacVim test results
if: ${{ !cancelled() && failure() }}
if: ${{ !cancelled() && failure() && steps.test_macvim.conclusion == 'failure' }}
uses: ./.github/actions/test_macvim_artifacts

- name: Build Vim test binaries
Expand All @@ -370,20 +374,24 @@ jobs:
make ${MAKE_BUILD_ARGS} -j${NPROC} -C src unittesttargets

- name: Test Vim
if: startsWith(github.ref, 'refs/tags/') || !matrix.testgui
timeout-minutes: 25
run: make ${MAKE_BUILD_ARGS} test

- name: Upload failed test files
if: ${{ !cancelled() && failure() }}
uses: ./.github/actions/test_artifacts
run: |
defaults delete org.vim.MacVim # Clean up stale states
make ${MAKE_BUILD_ARGS} test

- name: Test Vim (GUI)
if: startsWith(github.ref, 'refs/tags/') || matrix.testgui
timeout-minutes: 25
run: |
defaults delete org.vim.MacVim # Clean up stale states left from MacVim tests
defaults delete org.vim.MacVim # Clean up stale states
make ${MAKE_BUILD_ARGS} -C src/testdir clean
make ${MAKE_BUILD_ARGS} -C src testgui

- name: Upload failed test files
if: ${{ !cancelled() && failure() }}
uses: ./.github/actions/test_artifacts

- name: Build MacVim dmg image
if: matrix.publish && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master')
run: |
Expand Down
Loading