2 # 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
10 # http://www.apache.org/licenses/LICENSE-2.0
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
20 # build Apache Thrift on AppVeyor - https://ci.appveyor.com
22 version: '0.13.0.{build}'
29 - /^(release/)?\d+\.\d+\.\d+$/
41 CONFIGURATION: Release
44 LIBEVENT_VERSION: 2.1.8
48 DISABLED_TESTS: (StressTestNonBlocking)
53 BUILD_SHARED_LIBS: OFF
55 LIBEVENT_VERSION: 2.0.22
59 DISABLED_TESTS: (StressTestNonBlocking)
60 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
64 CONFIGURATION: RelWithDebInfo
65 DISABLED_TESTS: (StalenessCheckTest|StressTestNonBlocking)
69 CONFIGURATION: RelWithDebInfo
70 DISABLED_TESTS: (ZlibTest|OpenSSLManualInitTest|TNonblockingServerTest|StressTestNonBlocking)
73 - cd %APPVEYOR_BUILD_FOLDER%
74 - call build\appveyor\%PROFILE:~0,4%-appveyor-install.bat
78 - cd %APPVEYOR_BUILD_FOLDER%
79 - call build\appveyor\%PROFILE:~0,4%-appveyor-build.bat
82 - cd %APPVEYOR_BUILD_FOLDER%
83 - call build\appveyor\%PROFILE:~0,4%-appveyor-test.bat
86 # artifact capture disabled as it might increase service cost for little gain:
89 # - path: local-thrift-inst
90 # name: cmake installed content
93 # - path: local-thrift-build\Testing
97 # RDP support: use one or the other...
99 # enables RDP for each build job so you can inspect the environment at the beginning of the job:
101 # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
103 # enables RDP at the end of the build job so you can login and re-run
104 # commands to see why something failed...
106 # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
110 # APPVEYOR_RDP_PASSWORD: thr1FT2345$xyzZ