view .appveyor.yml @ 31718:bcedaa2fcb7b v9.0.1191

patch 9.0.1191: some Bazel files are not recognized Commit: https://github.com/vim/vim/commit/3213952966896ffb1d8fa186bcf8c43359fca0f0 Author: Keith Smiley <keithbsmiley@gmail.com> Date: Fri Jan 13 15:35:17 2023 +0000 patch 9.0.1191: some Bazel files are not recognized Problem: Some Bazel files are not recognized. Solution: Add an extra Bazel pattern. (Keith Smily, closes https://github.com/vim/vim/issues/11807)
author Bram Moolenaar <Bram@vim.org>
date Fri, 13 Jan 2023 16:45:02 +0100
parents 9dd5bc4f2783
children 0c7d833308c7
line wrap: on
line source

version: "{build}"

image: Visual Studio 2015

skip_tags: true

environment:
  matrix:
    - FEATURE: HUGE
  
    # Alternate environments, not used right now.  2022 is a lot slower.
    #
    # - job_name: VS-2015
    #   appveyor_build_worker_image: Visual Studio 2015
    #   FEATURE: HUGE

    # - job_name: VS-2017
    #   appveyor_build_worker_image: Visual Studio 2017
    #   FEATURE: HUGE

    # - job_name: VS-2019
    #   appveyor_build_worker_image: Visual Studio 2019
    #   FEATURE: HUGE

    # - job_name: VS-2022
    #   appveyor_build_worker_image: Visual Studio 2022
    #   FEATURE: HUGE

# disabled
#    - FEATURE: TINY
#    - FEATURE: NORMAL
#    - FEATURE: BIG

matrix:
  fast_finish: true

before_build:
  # - systeminfo
  # - wmic /NameSpace:\\root\Microsoft\Windows\Storage Path MSFT_PhysicalDisk get FriendlyName,Model,AllocatedSize,UniqueId
  - 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:\Python38-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