libaac-next/appveyor.yml
2025-08-04 21:18:27 +07:00

49 lines
1.1 KiB
YAML

version: '{build}'
branches:
only:
- master
clone_folder: c:\projects\cmake-init
image:
- Visual Studio 2015
- Visual Studio 2017
- Visual Studio 2019
configuration:
- Release
- Debug
platform:
- x64
environment:
matrix:
- arch: Win64
# - arch: #does not work, Release|x64 not a valid target
matrix:
fast_finish: true
# skip unsupported combinations
init:
- set arch=
- if "%arch%"=="Win64" ( set arch= x64)
- echo %arch%
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" ( set generator="Visual Studio 16 2019" )
- echo %generator%
before_build:
- cmd: |-
mkdir build
cd build
cmake --version
cmake .. -G %generator% -A %arch%
build:
project: c:\projects\cmake-init\build\template.sln
verbosity: minimal
parallel: true
only_commits:
files:
- CMakeLists.txt
- appveyor.yml
- source/
- cmake/