view .appveyor.yml @ 31696:57248cc8bd70 v9.0.1180

patch 9.0.1180: compiler warnings without the +job feature Commit: https://github.com/vim/vim/commit/bcbfaf32e02a92a6d6d35fc409b1b16aa931e3fa Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 11 19:11:15 2023 +0000 patch 9.0.1180: compiler warnings without the +job feature Problem: Compiler warnings without the +job feature. Solution: Adjust #ifdefs. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Wed, 11 Jan 2023 20:15:02 +0100
parents 52232e3ff22f
children 9dd5bc4f2783
line wrap: on
line source

version: "{build}"

image: Visual Studio 2022

skip_tags: true

environment:
  matrix:
    - FEATURE: HUGE
# disabled
#    - FEATURE: TINY
#    - FEATURE: NORMAL
#    - FEATURE: BIG

matrix:
  fast_finish: true

before_build:
  # Use latest compiler tools (Visual Studio 2022)
  - 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

build_script:
  - ci/appveyor.bat

test_script:
  - cd src/testdir
    # Testing with MSVC gvim
  - path C:\Python311-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

artifacts:
  - path: src/vim.exe
    name: vim
  - path: src/gvim.exe
    name: gvim

# vim: sw=2 sts=2 et ts=8 sr