comparison .appveyor.yml @ 31690:52232e3ff22f v9.0.1177

patch 9.0.1177: AppVeyor uses some older tools Commit: https://github.com/vim/vim/commit/ad15a39fdbde5ef8d4af9e0fca7e7e53b4843270 Author: Christopher Plewright <chris@createng.com> Date: Wed Jan 11 12:49:22 2023 +0000 patch 9.0.1177: AppVeyor uses some older tools Problem: AppVeyor uses some older tools. Solution: Switch to Visual Studio 2022 and Python 3.11. (Christopher Plewright, closes #11793)
author Bram Moolenaar <Bram@vim.org>
date Wed, 11 Jan 2023 14:00:06 +0100
parents 238f424acc6c
children 9dd5bc4f2783
comparison
equal deleted inserted replaced
31689:bdba967e3aac 31690:52232e3ff22f
1 version: "{build}" 1 version: "{build}"
2 2
3 image: Visual Studio 2015 3 image: Visual Studio 2022
4 4
5 skip_tags: true 5 skip_tags: true
6 6
7 environment: 7 environment:
8 matrix: 8 matrix:
14 14
15 matrix: 15 matrix:
16 fast_finish: true 16 fast_finish: true
17 17
18 before_build: 18 before_build:
19 # Use Visual Studio 2015 compiler tools (default is 2012) 19 # Use latest compiler tools (Visual Studio 2022)
20 - '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64' 20 - setlocal ENABLEDELAYEDEXPANSION
21 - call ver
22 - set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
23 - >
24 if exist "%VSWHERE%" (
25 for /f "usebackq delims=" %%i
26 in (`"%VSWHERE%" -products * -latest -property installationPath`)
27 do (set "VCVARSALL=%%i\VC\Auxiliary\Build\vcvarsall.bat")
28 )
29 - >
30 if not exist "%VCVARSALL%" (
31 set "VCVARSALL=%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
32 )
33 - call "%VCVARSALL%" x64
21 34
22 build_script: 35 build_script:
23 - ci/appveyor.bat 36 - ci/appveyor.bat
24 37
25 test_script: 38 test_script:
26 - cd src/testdir 39 - cd src/testdir
27 # Testing with MSVC gvim 40 # Testing with MSVC gvim
28 - path C:\Python35-x64;%PATH% 41 - path C:\Python311-x64;%PATH%
29 - nmake -f Make_mvc.mak VIMPROG=..\gvim 42 - nmake -f Make_mvc.mak VIMPROG=..\gvim
30 - nmake -f Make_mvc.mak clean 43 - nmake -f Make_mvc.mak clean
31 # Testing with MSVC console version 44 # Testing with MSVC console version
32 - nmake -f Make_mvc.mak VIMPROG=..\vim 45 - nmake -f Make_mvc.mak VIMPROG=..\vim
33 46