From: Christian Brabandt Date: Tue, 20 Jan 2026 19:23:02 +0000 (+0000) Subject: CI: Reorder path in Windows CI runners and move Python3 before $PATH X-Git-Tag: v9.1.2100~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=284f8669e650a605fa67586ae573533489cb9888;p=thirdparty%2Fvim.git 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 --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6759ec9a02..18e880ded5 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%\bin;%PATH%;%PYTHON3_DIR% + PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%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%\bin;%PATH%;%PYTHON3_DIR%;%SODIUM_LIB% + PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%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%\bin;%PATH%;%PYTHON3_DIR%;%SODIUM_LIB% + PATH %LUA_DIR%;C:\msys64\%MSYSTEM%\bin;%PYTHON3_DIR%;%PATH%;%SODIUM_LIB% call "%VCVARSALL%" %VCARCH% echo %COL_GREEN%Test Vim:%COL_RESET%