forked from uncrustify/uncrustify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (31 loc) · 1.02 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: "{build}"
platform: x64
environment:
matrix:
- CONFIG: Debug
- CONFIG: Release
clone_folder: C:\projects\uncrustify
branches:
only:
- master
clone_depth: 10
skip_tags: true
#init:
# - echo This is for test only
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
- "SET PATH=C:/Python35-x64;C:/Python35-x64/Scripts;%PATH%"
build_script:
- echo Running CMake...
- cd c:\projects\uncrustify
- mkdir build
- cd build
- cmake -G "Visual Studio 14 2015 Win64" ..
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- set MSBuildOptions=/v:m /p:Configuration=%CONFIG% /logger:%MSBuildLogger%
- msbuild %MSBuildOptions% uncrustify.sln
test_script:
# - echo This is for test only
# - C:/projects/uncrustify/build/Debug/uncrustify.exe -c C:/projects/uncrustify/tests/config/mono.cfg -f C:/projects/uncrustify/tests/input/cs/simple.cs -L 66
- ctest -C %CONFIG% -V
deploy: off