mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Merge pull request #1570 from ychin/fix-ci-respect-matrix-testgui
ci: Fix matrix to use testgui flag properly
This commit is contained in:
@@ -52,6 +52,7 @@ jobs:
|
||||
os: ${{ matrix.os }}
|
||||
legacy: ${{ matrix.legacy && true || false }}
|
||||
xcode: ${{ matrix.xcode }}
|
||||
testgui: ${{ matrix.testgui && true || false }}
|
||||
publish: ${{ matrix.publish && true || false }}
|
||||
publish_postfix: ${{ matrix.publish_postfix }}
|
||||
optimized: ${{ matrix.optimized && true || false }}
|
||||
|
||||
@@ -13,6 +13,8 @@ on:
|
||||
type: boolean
|
||||
xcode:
|
||||
type: string
|
||||
testgui:
|
||||
type: boolean
|
||||
publish:
|
||||
type: boolean
|
||||
publish_postfix:
|
||||
@@ -363,7 +365,7 @@ jobs:
|
||||
make ${MAKE_BUILD_ARGS} -j${NPROC} -C src unittesttargets
|
||||
|
||||
- name: Test Vim
|
||||
if: startsWith(github.ref, 'refs/tags/') || !matrix.testgui
|
||||
if: startsWith(github.ref, 'refs/tags/') || !inputs.testgui
|
||||
timeout-minutes: 30
|
||||
run: |
|
||||
defaults delete org.vim.MacVim # Clean up stale states
|
||||
@@ -373,7 +375,7 @@ jobs:
|
||||
make ${MAKE_BUILD_ARGS} -C src test
|
||||
|
||||
- name: Test Vim (GUI)
|
||||
if: startsWith(github.ref, 'refs/tags/') || matrix.testgui
|
||||
if: startsWith(github.ref, 'refs/tags/') || inputs.testgui
|
||||
timeout-minutes: 30
|
||||
run: |
|
||||
defaults delete org.vim.MacVim # Clean up stale states
|
||||
|
||||
Reference in New Issue
Block a user