blob: 57f5bee3ba9bf4d0372a7b006771b333a6d6cd08 [file] [log] [blame]
Bram Moolenaar0600f352015-09-15 19:18:18 +02001version: "{build}"
2
Christopher Plewrightad15a392023-01-11 12:49:22 +00003image: Visual Studio 2022
Christopher Plewrightc8b20492023-01-04 18:06:00 +00004
Bram Moolenaar84f49962016-02-24 22:27:05 +01005skip_tags: true
6
Bram Moolenaar81275ca2016-02-24 21:02:20 +01007environment:
8 matrix:
9 - FEATURE: HUGE
Bram Moolenaar81275ca2016-02-24 21:02:20 +010010# disabled
11# - FEATURE: TINY
Bram Moolenaarf9a343f2020-07-29 16:32:21 +020012# - FEATURE: NORMAL
Bram Moolenaar81275ca2016-02-24 21:02:20 +010013# - FEATURE: BIG
14
15matrix:
16 fast_finish: true
Bram Moolenaar74877922015-11-21 17:15:33 +010017
Bram Moolenaar0600f352015-09-15 19:18:18 +020018before_build:
Christopher Plewrightad15a392023-01-11 12:49:22 +000019 # Use latest compiler tools (Visual Studio 2022)
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
Bram Moolenaar0600f352015-09-15 19:18:18 +020034
35build_script:
Bram Moolenaar01a6c212019-02-03 13:13:18 +010036 - ci/appveyor.bat
Bram Moolenaar0600f352015-09-15 19:18:18 +020037
38test_script:
Bram Moolenaar81275ca2016-02-24 21:02:20 +010039 - cd src/testdir
40 # Testing with MSVC gvim
Christopher Plewrightad15a392023-01-11 12:49:22 +000041 - path C:\Python311-x64;%PATH%
K.Takata5bc13452022-09-09 10:52:47 +010042 - nmake -f Make_mvc.mak VIMPROG=..\gvim
43 - nmake -f Make_mvc.mak clean
Bram Moolenaarf9a343f2020-07-29 16:32:21 +020044 # Testing with MSVC console version
K.Takata5bc13452022-09-09 10:52:47 +010045 - nmake -f Make_mvc.mak VIMPROG=..\vim
Bram Moolenaar81275ca2016-02-24 21:02:20 +010046
Christian Brabandt0a657122022-12-30 17:28:12 +000047artifacts:
48 - path: src/vim.exe
49 name: vim
50 - path: src/gvim.exe
51 name: gvim
52
Bram Moolenaardd905a22016-09-02 22:26:04 +020053# vim: sw=2 sts=2 et ts=8 sr