blob: b25e7d2fcb4aeebf7998833f1cbd6f73e738f4d8 [file] [log] [blame]
James E. King, III07f59972017-03-10 06:18:33 -05001#
Roger Meierdf71a2e2015-04-09 01:06:49 +02002# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
20# build Apache Thrift on AppVeyor - https://ci.appveyor.com
21
James E. King, III07f59972017-03-10 06:18:33 -050022version: '1.0.0-dev.{build}'
Nobuaki Sukegawae8c71d82015-11-23 19:51:37 +090023
James E. King, III07f59972017-03-10 06:18:33 -050024shallow_clone: true
25
Roger Meierdf71a2e2015-04-09 01:06:49 +020026os:
James E. King, III07f59972017-03-10 06:18:33 -050027 - Visual Studio 2015
28
29cache:
30 - C:\projects\thrift\buildcache -> build\appveyor\MSVC-appveyor-install.bat
31 - C:\ProgramData\chocolatey\lib -> build\appveyor\MSVC-appveyor-install.bat
32 - C:\msys64\var\cache\pacman -> build\appveyor\MSYS-appveyor-install.bat
33
34configuration:
35# - Debug
36 - Release
37
38platform:
39# - x86
40 - x64
Roger Meierdf71a2e2015-04-09 01:06:49 +020041
42environment:
James E. King, III07f59972017-03-10 06:18:33 -050043 matrix:
44 - PROFILE: MSVC2015
45 BOOST_VERSION: 1.63.0
46 LIBEVENT_VERSION: 2.0.22
47 PYTHON_VERSION: 3.6
48 QT_VERSION: 5.8
49 ZLIB_VERSION: 1.2.11
50
51 - PROFILE: MINGW
52
53# - PROFILE: MSVC2010
54# BOOST_VERSION: 1.59.0
55# LIBEVENT_VERSION: 2.0.22
56# PYTHON_VERSION: 3.3
57# ZLIB_VERSION: 1.2.8
58
59# - PROFILE: MSYS
60
61matrix:
62 allow_failures:
63 # MSVC2010 appears to be 32-bit only in appveyor
64 - platform: x64
65 PROFILE: MSVC2010
66
67 # Only have 64-bit MinGW working so far (inside MSYS2)
68 - platform: x86
69 PROFILE: MINGW
70 - platform: x86
71 PROFILE: MSYS
Roger Meierdf71a2e2015-04-09 01:06:49 +020072
Roger Meier5d0a8062015-04-12 21:06:11 +020073install:
James E. King, III07f59972017-03-10 06:18:33 -050074 - cd %APPVEYOR_BUILD_FOLDER%
75 - call build\appveyor\%PROFILE:~0,4%-appveyor-install.bat
76 - refreshenv
Roger Meierdf71a2e2015-04-09 01:06:49 +020077
78build_script:
James E. King, III07f59972017-03-10 06:18:33 -050079 - cd %APPVEYOR_BUILD_FOLDER%
80 - call build\appveyor\%PROFILE:~0,4%-appveyor-build.bat
81
82test_script:
83 - cd %APPVEYOR_BUILD_FOLDER%
84 - call build\appveyor\%PROFILE:~0,4%-appveyor-test.bat
85
86# artifact capture disabled as it might increase service cost for little gain:
87#
88# artifacts:
89# - path: local-thrift-inst
90# name: cmake installed content
91# type: zip
92#
93# - path: local-thrift-build\Testing
94# name: ctest output
95# type: zip