forked from uncrustify/uncrustify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (34 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
33
34
35
version: "{build}"
platform: x64
environment:
matrix:
# MSVC
- GENERATOR: Visual Studio 15 2017 Win64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
configuration:
- Debug
- 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%"
before_build:
- cd c:\projects\uncrustify
- mkdir build
- cd build
- cmake -DUNCRUSTIFY_SEPARATE_TESTS=ON -G "%GENERATOR%" ..
build_script:
- cmake --build . --config %CONFIGURATION%
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
- set PYTHONIOENCODING=utf-8
- python ../scripts/run_ctest.py -- -C %CONFIGURATION%
deploy: off