Merge pull request #1570 from ychin/fix-ci-respect-matrix-testgui

ci: Fix matrix to use testgui flag properly
This commit is contained in:
Yee Cheng Chin
2025-03-27 19:49:56 -07:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -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 }}
+4 -2
View File
@@ -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