blob: 4a1f22027ab72766626ee5177bb903fcf1375ec9 (
plain) (
blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
version: '{build}'
image:
#- Visual Studio 2013
- Visual Studio 2015
- Visual Studio 2017
- Visual Studio 2019
environment:
python_exe: C:\Python36-x64\python.exe
install_dir: C:\Projects\install\winapi-utf8
platform:
- Win32
- x64
configuration:
#- Debug
- RelWithDebInfo
matrix:
fast_finish: true
install:
- git submodule update --init --recursive
before_build:
- '"%python_exe%" cmake\tools\clang-format.py'
build_script:
- cd cmake
- >-
"%python_exe%" -m project.ci.appveyor.cmake
--install "%install_dir%"
--boost "%appveyor_boost_root%"
-- -D WINAPI_UTF8_ENABLE_TESTS=ON
after_build:
- 7z.exe a "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip" "%install_dir%"
- appveyor.exe PushArtifact "%APPVEYOR_PROJECT_NAME%-%PLATFORM%-%CONFIGURATION%.zip"
test_script:
- '"%install_dir%\bin\test\unit_tests.exe" --log_level=all'
for:
# Only build Release builds on master to speed things up:
- branches:
except:
- master
configuration:
- Debug
- matrix:
only:
- image: Visual Studio 2013
environment:
boost_version: 1.59.0
build_script:
- cd cmake
- '"%python_exe%" -m project.ci.appveyor.boost -- --with-test'
- >-
"%python_exe%" -m project.ci.appveyor.cmake
--install "%install_dir%"
--boost C:\Projects\boost
-- -D WINAPI_UTF8_ENABLE_TESTS=ON
- matrix:
only:
- image: Visual Studio 2015
environment:
appveyor_boost_root: C:\Libraries\boost_1_62_0
- matrix:
only:
- image: Visual Studio 2017
environment:
appveyor_boost_root: C:\Libraries\boost_1_69_0
- matrix:
only:
- image: Visual Studio 2019
environment:
appveyor_boost_root: C:\Libraries\boost_1_71_0
|