-
Notifications
You must be signed in to change notification settings - Fork 10
/
appveyor.yml
114 lines (103 loc) · 2.7 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
version: trunk{build}
shallow_clone: true
# configure matrix of builds
image:
- Visual Studio 2022
- Ubuntu1604
platform:
- 64
- 32
configuration:
- msvc_main # build Debug + Release on vcxproj
- msvc_extra # build extra configurations on vcxproj
- cmake # build using CMake
environment:
matrix:
- thirdparty: artefacts # use artefacts from SVN (conan-less)
- thirdparty: rebuild # regenerate artefacts using conan then use them
- thirdparty: conan # conan build
matrix:
exclude:
- image: Ubuntu1604 # too hard to configure cross-compilation for 32-bit on Linux
platform: 32
- configuration: msvc_main
image: Ubuntu1604
- configuration: msvc_extra
image: Ubuntu1604
- configuration: msvc_main
thirdparty: conan
- configuration: msvc_extra
thirdparty: conan
- configuration: msvc_extra
thirdparty: rebuild
# Linux-only: don't use Python 2 please =)
stack: python 3.8
# build scripts
for:
- matrix:
only:
- image: Visual Studio 2022
configuration: msvc_main
thirdparty: artefacts
build_script:
- |
cd CiScripts
build_msvc_main.cmd
- matrix:
only:
- image: Visual Studio 2022
configuration: msvc_extra
thirdparty: artefacts
build_script:
- |
cd CiScripts
build_msvc_extra.cmd
- matrix:
only:
- image: Visual Studio 2022
configuration: msvc_main
thirdparty: rebuild
install:
- pip install conan
build_script:
- |
cd CiScripts
python conan_rebuild_artefacts_ci.py force
build_msvc_main.cmd
- matrix:
only:
- configuration: cmake
thirdparty: artefacts
build_script:
- |
cd CiScripts
python ./linux_install.py
python ./build_cmake.py
- matrix:
only:
- configuration: cmake
thirdparty: rebuild
install:
- pip install conan
build_script:
- |
cd CiScripts
python ./linux_install.py
python ./conan_rebuild_artefacts_ci.py force
python ./build_cmake.py
- matrix:
only:
- configuration: cmake
thirdparty: conan
install:
- pip install conan
build_script:
- |
cd CiScripts
python ./linux_install.py
python ./conan_build.py
# can be used for debugging issues on AppVeyor =(
#after_build:
# - 7z a C:\projects\trunk\crap.7z "C:\Users\appveyor\.conan2"
#artifacts:
# - path: crap.7z