Commit: CI: MS-Windows: Run gvim/vim tests in parallel

0 views
Skip to first unread message

Christian Brabandt

unread,
1:30 PM (3 hours ago) 1:30 PM
to vim...@googlegroups.com
CI: MS-Windows: Run gvim/vim tests in parallel

Commit: https://github.com/vim/vim/commit/c0fc51184c0374b74478611ce8f74ab7464ded0d
Author: K.Takata <ken...@csc.jp>
Date: Sun Jun 28 17:28:17 2026 +0000

CI: MS-Windows: Run gvim/vim tests in parallel

https://github.blog/changelog/2026-06-25-actions-steps-can-now-be-run-in-parallel/

closes: #20655

Signed-off-by: K.Takata <ken...@csc.jp>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml
index 25c7f1c07..e4b8cdecd 100644
--- a/.github/workflows/ci-windows.yml
+++ b/.github/workflows/ci-windows.yml
@@ -193,6 +193,12 @@ jobs:
)
goto :eof

+ - name: Copy src directory to src2
+ if: matrix.GUI == 'no' || matrix.VIMDLL == 'yes'
+ shell: cmd
+ run: |
+ xcopy src src2\ /E > nul
+
- name: Build (MSVC)
if: matrix.toolchain == 'msvc'
shell: cmd
@@ -306,40 +312,42 @@ jobs:
# fi
# fi

- - name: Test and show the result of testing gVim
- if: matrix.GUI == 'yes' || matrix.VIMDLL == 'yes'
- shell: cmd
- timeout-minutes: 15
- run: |
- PATH %LUA_DIR%;C:\msys64\%MSYSTEM% in;%PYTHON3_DIR%;%PATH%;%SODIUM_LIB%
- call "%VCVARSALL%" %VCARCH%
-
- echo %COL_GREEN%Test gVim:%COL_RESET%
- cd src estdir
- if "${{ matrix.GUI }}"=="yes" (
- nmake -nologo -f Make_mvc.mak VIMPROG=..\gvim || exit 1
- ) else (
- @rem Run only tiny tests.
- nmake -nologo -f Make_mvc.mak tiny VIMPROG=..\gvim || exit 1
- )
-
- - name: Test and show the result of testing Vim
- if: matrix.GUI == 'no' || matrix.VIMDLL == 'yes'
- shell: cmd
- timeout-minutes: 15
- run: |
- PATH %LUA_DIR%;C:\msys64\%MSYSTEM% in;%PYTHON3_DIR%;%PATH%;%SODIUM_LIB%
- call "%VCVARSALL%" %VCARCH%
+ - parallel:
+ # Run gvim tests and vim tests in parallel
+
+ - name: Test and show the result of testing gVim
+ if: matrix.GUI == 'yes' || matrix.VIMDLL == 'yes'
+ shell: cmd
+ timeout-minutes: 15
+ run: |
+ PATH %LUA_DIR%;C:\msys64\%MSYSTEM% in;%PYTHON3_DIR%;%PATH%;%SODIUM_LIB%
+ call "%VCVARSALL%" %VCARCH%
+
+ echo %COL_GREEN%Test gVim:%COL_RESET%
+ cd src estdir
+ if "${{ matrix.features }}"=="TINY" (
+ @rem Run only tiny tests.
+ nmake -nologo -f Make_mvc.mak tiny VIMPROG=..\gvim || exit 1
+ ) else (
+ nmake -nologo -f Make_mvc.mak VIMPROG=..\gvim || exit 1
+ )

- echo %COL_GREEN%Test Vim:%COL_RESET%
- cd src estdir
- nmake -nologo -f Make_mvc.mak clean
- if "${{ matrix.GUI }}"=="no" (
- nmake -nologo -f Make_mvc.mak VIMPROG=.. im || exit 1
- ) else (
- @rem Run only tiny tests.
- nmake -nologo -f Make_mvc.mak tiny VIMPROG=.. im || exit 1
- )
+ - name: Test and show the result of testing Vim
+ if: matrix.GUI == 'no' || matrix.VIMDLL == 'yes'
+ shell: cmd
+ timeout-minutes: 15
+ run: |
+ PATH %LUA_DIR%;C:\msys64\%MSYSTEM% in;%PYTHON3_DIR%;%PATH%;%SODIUM_LIB%
+ call "%VCVARSALL%" %VCARCH%
+
+ echo %COL_GREEN%Test Vim:%COL_RESET%
+ cd src2 estdir
+ if "${{ matrix.features }}"=="TINY" (
+ @rem Run only tiny tests.
+ nmake -nologo -f Make_mvc.mak tiny VIMPROG=..\..\src im || exit 1
+ ) else (
+ nmake -nologo -f Make_mvc.mak VIMPROG=..\..\src im || exit 1
+ )

- name: Upload failed test artifacts
if: ${{ !cancelled() }}
Reply all
Reply to author
Forward
0 new messages