mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 19:45:35 -04:00
46 lines
800 B
YAML
46 lines
800 B
YAML
# AppVeyor configuration file.
|
|
version: '1.1.1.{build}'
|
|
|
|
# Build worker image (VM template)
|
|
image: Visual Studio 2013
|
|
|
|
# scripts that are called at very beginning, before repo cloning
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
|
|
# clone directory
|
|
clone_folder: c:\projects\rvthtool
|
|
|
|
# Don't build if source files aren't modified.
|
|
only_commits:
|
|
files:
|
|
- appveyor.cmd
|
|
- appveyor.yml
|
|
- '**/CMakeLists.txt'
|
|
- '**/*.cmd'
|
|
- '**/*.sh'
|
|
- extlib/**/*
|
|
- src/**/*
|
|
|
|
platform:
|
|
- x86
|
|
- x64
|
|
|
|
configuration:
|
|
- Debug
|
|
- Release
|
|
|
|
before_build:
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- appveyor.cmd
|
|
|
|
build_script:
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- msbuild ALL_BUILD.vcxproj
|
|
|
|
test_script:
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- ctest -V -C %CONFIGURATION%
|
|
|
|
# TODO: Automatic packaging?
|