patch 9.0.1206: testing with Python on AppVeyor does not work properly

Problem:    Testing with Python on AppVeyor does not work properly.
Solution:   Fix typo.  Move most lines to the .bat file. (Christopher
            Plewright, closes #11828)
This commit is contained in:
Christopher Plewright
2023-01-16 13:01:28 +00:00
committed by Bram Moolenaar
parent ae3205aa55
commit 5a57a5e209
3 changed files with 52 additions and 26 deletions

View File

@ -35,34 +35,14 @@ matrix:
fast_finish: true
before_build:
# - systeminfo
# - wmic /NameSpace:\\root\Microsoft\Windows\Storage Path MSFT_PhysicalDisk get FriendlyName,Model,AllocatedSize,UniqueId
- setlocal ENABLEDELAYEDEXPANSION
- call ver
- set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
- >
if exist "%VSWHERE%" (
for /f "usebackq delims=" %%i
in (`"%VSWHERE%" -products * -latest -property installationPath`)
do (set "VCVARSALL=%%i\VC\Auxiliary\Build\vcvarsall.bat")
)
- >
if not exist "%VCVARSALL%" (
set "VCVARSALL=%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
)
- call "%VCVARSALL%" x64
- ci\appveyor.bat install
build_script:
- ci/appveyor.bat
- ci\appveyor.bat build
test_script:
- cd src/testdir
# Testing with MSVC gvim
- path C:\Python38-x64;%PATH%
- nmake -f Make_mvc.mak VIMPROG=..\gvim
- nmake -f Make_mvc.mak clean
# Testing with MSVC console version
- nmake -f Make_mvc.mak VIMPROG=..\vim
- ci\appveyor.bat test
artifacts:
- path: src/vim.exe