blob: 4c2e36496ca1685c42d917841b5d1751e1e642f0 [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
Roger Meierdf71a2e2015-04-09 01:06:49 +020034environment:
James E. King, III07f59972017-03-10 06:18:33 -050035 matrix:
James E. King, III33df4eb2017-04-06 08:45:17 -040036 - PROFILE: MSVC2010
37 PLATFORM: x86
38 CONFIGURATION: Debug
39 BOOST_VERSION: 1.54.0
40 LIBEVENT_VERSION: 2.0.22
41 QT_VERSION: 5.6
42 ZLIB_VERSION: 1.2.8
James E. King, III7d211b82017-09-06 10:12:02 -070043 DISABLED_TESTS: StressTestNonBlocking
James E. King, III33df4eb2017-04-06 08:45:17 -040044
James E. King, III07f59972017-03-10 06:18:33 -050045 - PROFILE: MSVC2015
James E. King, III33df4eb2017-04-06 08:45:17 -040046 PLATFORM: x64
47 CONFIGURATION: Release
James E. King, III82ae9572017-08-05 12:23:54 -040048 BOOST_VERSION: 1.64.0
James E. King, III07f59972017-03-10 06:18:33 -050049 LIBEVENT_VERSION: 2.0.22
50 PYTHON_VERSION: 3.6
51 QT_VERSION: 5.8
52 ZLIB_VERSION: 1.2.11
James E. King, III33df4eb2017-04-06 08:45:17 -040053 DISABLED_TESTS: StressTestNonBlocking
James E. King, III07f59972017-03-10 06:18:33 -050054
55 - PROFILE: MINGW
James E. King, III33df4eb2017-04-06 08:45:17 -040056 PLATFORM: x64
57 CONFIGURATION: Release
James E. King, III07f59972017-03-10 06:18:33 -050058
59matrix:
James E. King, III33df4eb2017-04-06 08:45:17 -040060 fast_finish: true
Roger Meierdf71a2e2015-04-09 01:06:49 +020061
Roger Meier5d0a8062015-04-12 21:06:11 +020062install:
James E. King, III07f59972017-03-10 06:18:33 -050063 - cd %APPVEYOR_BUILD_FOLDER%
64 - call build\appveyor\%PROFILE:~0,4%-appveyor-install.bat
65 - refreshenv
Roger Meierdf71a2e2015-04-09 01:06:49 +020066
67build_script:
James E. King, III07f59972017-03-10 06:18:33 -050068 - cd %APPVEYOR_BUILD_FOLDER%
69 - call build\appveyor\%PROFILE:~0,4%-appveyor-build.bat
70
71test_script:
72 - cd %APPVEYOR_BUILD_FOLDER%
73 - call build\appveyor\%PROFILE:~0,4%-appveyor-test.bat
74
James E. King, III33df4eb2017-04-06 08:45:17 -040075
James E. King, III07f59972017-03-10 06:18:33 -050076# artifact capture disabled as it might increase service cost for little gain:
77#
78# artifacts:
79# - path: local-thrift-inst
80# name: cmake installed content
81# type: zip
82#
83# - path: local-thrift-build\Testing
84# name: ctest output
85# type: zip
James E. King, III33df4eb2017-04-06 08:45:17 -040086
87# RDP support: use one or the other...
88#
89# enables RDP for each build job so you can inspect the environment at the beginning of the job:
90# init:
91# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
92#
93# enables RDP at the end of the build job so you can login and re-run
94# commands to see why something failed...
James E. King, III82ae9572017-08-05 12:23:54 -040095#on_finish:
James E. King, III33df4eb2017-04-06 08:45:17 -040096# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
James E. King, III82ae9572017-08-05 12:23:54 -040097#
98# also need:
99# environment:
100# APPVEYOR_RDP_PASSWORD: thr1FT2345$xyzZ
James E. King, III33df4eb2017-04-06 08:45:17 -0400101