Commit: CI: Reorder path in Windows CI runners and move Python3 before $PATH

2 views
Skip to first unread message

Christian Brabandt

unread,
Jan 20, 2026, 2:31:17 PM (2 days ago) Jan 20
to vim...@googlegroups.com
CI: Reorder path in Windows CI runners and move Python3 before $PATH

Commit: https://github.com/vim/vim/commit/284f8669e650a605fa67586ae573533489cb9888
Author: Christian Brabandt <c...@256bit.org>
Date: Tue Jan 20 19:23:02 2026 +0000

CI: Reorder path in Windows CI runners and move Python3 before $PATH

Apparently, sometimes Vim tries to load python.dll from the Mercurial
directory. So let's move the $PYTHON3_DIR before $PATH, so that Vim can
pickup python3.dll from the right directory

https://github.com/vim/vim/actions/runs/21142024316/job/60798242826?pr=19215

closes: #19217

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6759ec9a0..18e880ded 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -730,7 +730,7 @@ jobs:
- name: Check version
shell: cmd
run: |
- PATH %LUA_DIR%;C:\msys64\%MSYSTEM% in;%PATH%;%PYTHON3_DIR%
+ PATH %LUA_DIR%;C:\msys64\%MSYSTEM% in;%PYTHON3_DIR%;%PATH%
if "${{ matrix.GUI }}"=="yes" (
start /wait src\gvim -u NONE -i NONE -c "redir > version.txt | ver | q" || exit 1
type version.txt
@@ -780,7 +780,7 @@ jobs:
shell: cmd
timeout-minutes: 15
run: |
- PATH %LUA_DIR%;C:\msys64\%MSYSTEM% in;%PATH%;%PYTHON3_DIR%;%SODIUM_LIB%
+ PATH %LUA_DIR%;C:\msys64\%MSYSTEM% in;%PYTHON3_DIR%;%PATH%;%SODIUM_LIB%
call "%VCVARSALL%" %VCARCH%

echo %COL_GREEN%Test gVim:%COL_RESET%
@@ -797,7 +797,7 @@ jobs:
shell: cmd
timeout-minutes: 15
run: |
- PATH %LUA_DIR%;C:\msys64\%MSYSTEM% in;%PATH%;%PYTHON3_DIR%;%SODIUM_LIB%
+ PATH %LUA_DIR%;C:\msys64\%MSYSTEM% in;%PYTHON3_DIR%;%PATH%;%SODIUM_LIB%
call "%VCVARSALL%" %VCARCH%

echo %COL_GREEN%Test Vim:%COL_RESET%
Reply all
Reply to author
Forward
0 new messages