view .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
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