blob: f0e92f366e871c507a4b19cca9d169954247393d [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
Jens Geyerf7e6c652021-08-03 22:21:05 +020022version: '0.16.0.{build}'
Nobuaki Sukegawae8c71d82015-11-23 19:51:37 +090023
James E. King, III07f59972017-03-10 06:18:33 -050024shallow_clone: true
25
James E. King III278528c2019-01-11 12:17:44 -050026branches:
27 only:
28 - master
29 - /^(release/)?\d+\.\d+\.\d+$/
30
James E. King III860a5f12018-03-06 14:23:23 -050031matrix:
James E. King III860a5f12018-03-06 14:23:23 -050032 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
Mario Emmenlauer22bb5502021-08-05 15:40:19 +020037 PROFILE_CLASS: MSVC
Mario Emmenlauerce648802021-08-05 17:10:09 +020038 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
James E. King, III33df4eb2017-04-06 08:45:17 -040039 PLATFORM: x64
40 CONFIGURATION: Release
cyy8fdb7582019-02-05 02:57:21 +080041 BUILD_SHARED_LIBS: ON
James E. King IIIc9ac8d22019-01-07 16:46:45 -050042 BOOST_VERSION: 1.67.0
James E. King III860a5f12018-03-06 14:23:23 -050043 LIBEVENT_VERSION: 2.1.8
James E. King, III07f59972017-03-10 06:18:33 -050044 PYTHON_VERSION: 3.6
James E. King III860a5f12018-03-06 14:23:23 -050045 QT_VERSION: 5.10
James E. King, III07f59972017-03-10 06:18:33 -050046 ZLIB_VERSION: 1.2.11
47
James E. King IIIc9ac8d22019-01-07 16:46:45 -050048 - PROFILE: MSVC2015
Mario Emmenlauer22bb5502021-08-05 15:40:19 +020049 PROFILE_CLASS: MSVC
Mario Emmenlauerce648802021-08-05 17:10:09 +020050 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
James E. King III8d55c472018-03-12 14:29:55 -040051 PLATFORM: x86
James E. King IIIf3ec2772019-01-12 11:52:04 -050052 CONFIGURATION: Debug
James E. King III278528c2019-01-11 12:17:44 -050053 BUILD_SHARED_LIBS: OFF
James E. King IIIc9ac8d22019-01-07 16:46:45 -050054 BOOST_VERSION: 1.62.0
James E. King III8d55c472018-03-12 14:29:55 -040055 LIBEVENT_VERSION: 2.0.22
56 PYTHON_VERSION: 3.5
57 QT_VERSION: 5.8
58 ZLIB_VERSION: 1.2.8
James E. King III8d55c472018-03-12 14:29:55 -040059
James E. King, III07f59972017-03-10 06:18:33 -050060 - PROFILE: MINGW
Mario Emmenlauer22bb5502021-08-05 15:40:19 +020061 PROFILE_CLASS: MINGW
Mario Emmenlauer166786e2021-08-04 10:38:56 +020062 # Currently the the latest MSYS2 is in the following image:
63 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
James E. King, III33df4eb2017-04-06 08:45:17 -040064 PLATFORM: x64
James E. King III860a5f12018-03-06 14:23:23 -050065 CONFIGURATION: RelWithDebInfo
Mario Emmenlauer80279362020-04-24 08:51:37 +020066 DISABLED_TESTS: (StalenessCheckTest)
James E. King, III07f59972017-03-10 06:18:33 -050067
Mario Emmenlauerfcb07b12021-08-11 19:29:38 +020068 # As of 2021.08.06, the Cygwin build is broken with a missing dll exception.
69 # See for an example https://ci.appveyor.com/project/ApacheSoftwareFoundation/thrift/builds/40263513/job/a69xt6m4o0y9x1bw?fullLog=true
70 # - PROFILE: CYGWIN
71 # PROFILE_CLASS: CYGWIN
72 # PLATFORM: x64
73 # CONFIGURATION: RelWithDebInfo
74 # DISABLED_TESTS: (ZlibTest|OpenSSLManualInitTest|TNonblockingServerTest)
Roger Meierdf71a2e2015-04-09 01:06:49 +020075
Roger Meierdf71a2e2015-04-09 01:06:49 +020076
77build_script:
James E. King, III07f59972017-03-10 06:18:33 -050078 - cd %APPVEYOR_BUILD_FOLDER%
Mario Emmenlauerffc7bb92021-08-05 17:23:35 +020079 - call build\appveyor\%PROFILE_CLASS%-appveyor-full.bat
James E. King, III07f59972017-03-10 06:18:33 -050080
James E. King, III33df4eb2017-04-06 08:45:17 -040081
James E. King, III07f59972017-03-10 06:18:33 -050082# artifact capture disabled as it might increase service cost for little gain:
83#
84# artifacts:
85# - path: local-thrift-inst
86# name: cmake installed content
87# type: zip
88#
89# - path: local-thrift-build\Testing
90# name: ctest output
91# type: zip
James E. King, III33df4eb2017-04-06 08:45:17 -040092
93# RDP support: use one or the other...
94#
95# enables RDP for each build job so you can inspect the environment at the beginning of the job:
96# init:
97# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
98#
99# enables RDP at the end of the build job so you can login and re-run
100# commands to see why something failed...
James E. King IIIc9ac8d22019-01-07 16:46:45 -0500101# on_finish:
102# - 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 -0400103#
104# also need:
105# environment:
jfarrell384647d2018-10-16 22:36:46 -0400106# APPVEYOR_RDP_PASSWORD: thr1FT2345$xyzZ