blob: f5eed932005a69bf17c46f3a291c1121b07b2c4b [file] [log] [blame]
Bram Moolenaar0600f352015-09-15 19:18:18 +02001version: "{build}"
2
Christopher Plewright60908c42023-01-13 15:28:14 +00003image: Visual Studio 2015
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
Christopher Plewright60908c42023-01-13 15:28:14 +000010
11 # Alternate environments, not used right now. 2022 is a lot slower.
12 #
13 # - job_name: VS-2015
14 # appveyor_build_worker_image: Visual Studio 2015
15 # FEATURE: HUGE
16
17 # - job_name: VS-2017
18 # appveyor_build_worker_image: Visual Studio 2017
19 # FEATURE: HUGE
20
21 # - job_name: VS-2019
22 # appveyor_build_worker_image: Visual Studio 2019
23 # FEATURE: HUGE
24
25 # - job_name: VS-2022
26 # appveyor_build_worker_image: Visual Studio 2022
27 # FEATURE: HUGE
28
Bram Moolenaar81275ca2016-02-24 21:02:20 +010029# disabled
30# - FEATURE: TINY
Bram Moolenaarf9a343f2020-07-29 16:32:21 +020031# - FEATURE: NORMAL
Bram Moolenaar81275ca2016-02-24 21:02:20 +010032# - FEATURE: BIG
33
34matrix:
35 fast_finish: true
Bram Moolenaar74877922015-11-21 17:15:33 +010036
Bram Moolenaar0600f352015-09-15 19:18:18 +020037before_build:
Christopher Plewright60908c42023-01-13 15:28:14 +000038 # - systeminfo
39 # - wmic /NameSpace:\\root\Microsoft\Windows\Storage Path MSFT_PhysicalDisk get FriendlyName,Model,AllocatedSize,UniqueId
Christopher Plewrightad15a392023-01-11 12:49:22 +000040 - setlocal ENABLEDELAYEDEXPANSION
41 - call ver
42 - set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
43 - >
44 if exist "%VSWHERE%" (
45 for /f "usebackq delims=" %%i
46 in (`"%VSWHERE%" -products * -latest -property installationPath`)
47 do (set "VCVARSALL=%%i\VC\Auxiliary\Build\vcvarsall.bat")
48 )
49 - >
50 if not exist "%VCVARSALL%" (
51 set "VCVARSALL=%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
52 )
53 - call "%VCVARSALL%" x64
Bram Moolenaar0600f352015-09-15 19:18:18 +020054
55build_script:
Bram Moolenaar01a6c212019-02-03 13:13:18 +010056 - ci/appveyor.bat
Bram Moolenaar0600f352015-09-15 19:18:18 +020057
58test_script:
Bram Moolenaar81275ca2016-02-24 21:02:20 +010059 - cd src/testdir
60 # Testing with MSVC gvim
Christopher Plewright60908c42023-01-13 15:28:14 +000061 - path C:\Python38-x64;%PATH%
K.Takata5bc13452022-09-09 10:52:47 +010062 - nmake -f Make_mvc.mak VIMPROG=..\gvim
63 - nmake -f Make_mvc.mak clean
Bram Moolenaarf9a343f2020-07-29 16:32:21 +020064 # Testing with MSVC console version
K.Takata5bc13452022-09-09 10:52:47 +010065 - nmake -f Make_mvc.mak VIMPROG=..\vim
Bram Moolenaar81275ca2016-02-24 21:02:20 +010066
Christian Brabandt0a657122022-12-30 17:28:12 +000067artifacts:
68 - path: src/vim.exe
69 name: vim
70 - path: src/gvim.exe
71 name: gvim
72
Bram Moolenaardd905a22016-09-02 22:26:04 +020073# vim: sw=2 sts=2 et ts=8 sr