blob: 2db28f616b87584cb712ed46a66ebaf9781b8eb7 [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 III860a5f12018-03-06 14:23:23 -050027 - Visual Studio 2017
James E. King, III07f59972017-03-10 06:18:33 -050028
James E. King III860a5f12018-03-06 14:23:23 -050029matrix:
30 allow_failures:
31 - PROFILE: CYGWIN
32 fast_finish: true
James E. King, III07f59972017-03-10 06:18:33 -050033
Roger Meierdf71a2e2015-04-09 01:06:49 +020034environment:
James E. King, III07f59972017-03-10 06:18:33 -050035 matrix:
James E. King III860a5f12018-03-06 14:23:23 -050036 - PROFILE: MSVC2017
James E. King, III33df4eb2017-04-06 08:45:17 -040037 PLATFORM: x64
38 CONFIGURATION: Release
James E. King III860a5f12018-03-06 14:23:23 -050039 BOOST_VERSION: 1.65.1
40 LIBEVENT_VERSION: 2.1.8
James E. King, III07f59972017-03-10 06:18:33 -050041 PYTHON_VERSION: 3.6
James E. King III860a5f12018-03-06 14:23:23 -050042 QT_VERSION: 5.10
James E. King, III07f59972017-03-10 06:18:33 -050043 ZLIB_VERSION: 1.2.11
James E. King, III33df4eb2017-04-06 08:45:17 -040044 DISABLED_TESTS: StressTestNonBlocking
James E. King, III07f59972017-03-10 06:18:33 -050045
46 - PROFILE: MINGW
James E. King, III33df4eb2017-04-06 08:45:17 -040047 PLATFORM: x64
James E. King III860a5f12018-03-06 14:23:23 -050048 CONFIGURATION: RelWithDebInfo
49 DISABLED_TESTS: StressTestNonBlocking
James E. King, III07f59972017-03-10 06:18:33 -050050
James E. King III860a5f12018-03-06 14:23:23 -050051 - PROFILE: CYGWIN
52 PLATFORM: x64
53 CONFIGURATION: RelWithDebInfo
54 DISABLED_TESTS: (ZlibTest|OpenSSLManualInitTest|TNonblockingServerTest|StressTestNonBlocking)
55
56 - PROFILE: CYGWIN
57 PLATFORM: x86
58 CONFIGURATION: RelWithDebInfo
59 DISABLED_TESTS: (ZlibTest|OpenSSLManualInitTest|TNonblockingServerTest|StressTestNonBlocking)
Roger Meierdf71a2e2015-04-09 01:06:49 +020060
Roger Meier5d0a8062015-04-12 21:06:11 +020061install:
James E. King, III07f59972017-03-10 06:18:33 -050062 - cd %APPVEYOR_BUILD_FOLDER%
63 - call build\appveyor\%PROFILE:~0,4%-appveyor-install.bat
64 - refreshenv
Roger Meierdf71a2e2015-04-09 01:06:49 +020065
66build_script:
James E. King, III07f59972017-03-10 06:18:33 -050067 - cd %APPVEYOR_BUILD_FOLDER%
68 - call build\appveyor\%PROFILE:~0,4%-appveyor-build.bat
69
70test_script:
71 - cd %APPVEYOR_BUILD_FOLDER%
72 - call build\appveyor\%PROFILE:~0,4%-appveyor-test.bat
73
James E. King, III33df4eb2017-04-06 08:45:17 -040074
James E. King, III07f59972017-03-10 06:18:33 -050075# artifact capture disabled as it might increase service cost for little gain:
76#
77# artifacts:
78# - path: local-thrift-inst
79# name: cmake installed content
80# type: zip
81#
82# - path: local-thrift-build\Testing
83# name: ctest output
84# type: zip
James E. King, III33df4eb2017-04-06 08:45:17 -040085
86# RDP support: use one or the other...
87#
88# enables RDP for each build job so you can inspect the environment at the beginning of the job:
89# init:
90# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
91#
92# enables RDP at the end of the build job so you can login and re-run
93# commands to see why something failed...
James E. King, III82ae9572017-08-05 12:23:54 -040094#on_finish:
James E. King, III33df4eb2017-04-06 08:45:17 -040095# - 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 -040096#
97# also need:
98# environment:
99# APPVEYOR_RDP_PASSWORD: thr1FT2345$xyzZ
James E. King, III33df4eb2017-04-06 08:45:17 -0400100