| James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 1 | # |
| Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 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 |
| 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 Geyer | c79d1cc | 2025-05-14 22:08:35 +0200 | [diff] [blame] | 22 | version: '0.23.0.{build}' |
| Nobuaki Sukegawa | e8c71d8 | 2015-11-23 19:51:37 +0900 | [diff] [blame] | 23 | |
| James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 24 | shallow_clone: true |
| 25 | |
| James E. King III | 278528c | 2019-01-11 12:17:44 -0500 | [diff] [blame] | 26 | branches: |
| 27 | only: |
| 28 | - master |
| 29 | - /^(release/)?\d+\.\d+\.\d+$/ |
| 30 | |
| Mario Emmenlauer | 6dfaf9c | 2021-08-11 19:30:25 +0200 | [diff] [blame] | 31 | # Note: We could abort all jobs on the first error, but then it |
| 32 | # becomes hard to learn from the other jobs results. Therefore disabled: |
| 33 | #matrix: |
| 34 | # fast_finish: true |
| James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 35 | |
| Gregg Donovan | 62ec929 | 2026-01-29 16:51:37 -0500 | [diff] [blame] | 36 | # See https://www.appveyor.com/docs/windows-images-software/ for available versions. |
| 37 | |
| Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 38 | environment: |
| James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 39 | matrix: |
| Gregg Donovan | 62ec929 | 2026-01-29 16:51:37 -0500 | [diff] [blame] | 40 | # Python version test matrix (3.10-3.14) using MSVC2022 |
| 41 | - PROFILE: MSVC2022 |
| Mario Emmenlauer | 22bb550 | 2021-08-05 15:40:19 +0200 | [diff] [blame] | 42 | PROFILE_CLASS: MSVC |
| Gregg Donovan | 62ec929 | 2026-01-29 16:51:37 -0500 | [diff] [blame] | 43 | APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 |
| James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 44 | PLATFORM: x64 |
| 45 | CONFIGURATION: Release |
| Carel Combrink | be7a9e5 | 2025-11-07 09:27:39 +0000 | [diff] [blame] | 46 | BUILD_SHARED_LIBS: ON |
| Gregg Donovan | 62ec929 | 2026-01-29 16:51:37 -0500 | [diff] [blame] | 47 | BOOST_VERSION: 1.89.0 |
| 48 | LIBEVENT_VERSION: 2.1.12 |
| 49 | PYTHON_VERSION: "3.10" |
| 50 | QT_VERSION: 6.9.3 |
| 51 | ZLIB_VERSION: 1.3.1 |
| James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 52 | |
| Gregg Donovan | 62ec929 | 2026-01-29 16:51:37 -0500 | [diff] [blame] | 53 | - PROFILE: MSVC2022 |
| Mario Emmenlauer | 22bb550 | 2021-08-05 15:40:19 +0200 | [diff] [blame] | 54 | PROFILE_CLASS: MSVC |
| Gregg Donovan | 62ec929 | 2026-01-29 16:51:37 -0500 | [diff] [blame] | 55 | APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 |
| 56 | PLATFORM: x64 |
| 57 | CONFIGURATION: Release |
| 58 | BUILD_SHARED_LIBS: ON |
| 59 | BOOST_VERSION: 1.89.0 |
| 60 | LIBEVENT_VERSION: 2.1.12 |
| 61 | PYTHON_VERSION: "3.11" |
| 62 | QT_VERSION: 6.9.3 |
| 63 | ZLIB_VERSION: 1.3.1 |
| 64 | |
| 65 | - PROFILE: MSVC2022 |
| 66 | PROFILE_CLASS: MSVC |
| 67 | APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 |
| 68 | PLATFORM: x64 |
| 69 | CONFIGURATION: Release |
| 70 | BUILD_SHARED_LIBS: ON |
| 71 | BOOST_VERSION: 1.89.0 |
| 72 | LIBEVENT_VERSION: 2.1.12 |
| 73 | PYTHON_VERSION: "3.12" |
| 74 | QT_VERSION: 6.9.3 |
| 75 | ZLIB_VERSION: 1.3.1 |
| 76 | |
| 77 | - PROFILE: MSVC2022 |
| 78 | PROFILE_CLASS: MSVC |
| 79 | APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 |
| 80 | PLATFORM: x64 |
| 81 | CONFIGURATION: Release |
| 82 | BUILD_SHARED_LIBS: ON |
| 83 | BOOST_VERSION: 1.89.0 |
| 84 | LIBEVENT_VERSION: 2.1.12 |
| 85 | PYTHON_VERSION: "3.13" |
| 86 | QT_VERSION: 6.9.3 |
| 87 | ZLIB_VERSION: 1.3.1 |
| 88 | |
| 89 | - PROFILE: MSVC2022 |
| 90 | PROFILE_CLASS: MSVC |
| 91 | APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022 |
| 92 | PLATFORM: x64 |
| 93 | CONFIGURATION: Release |
| 94 | BUILD_SHARED_LIBS: ON |
| 95 | BOOST_VERSION: 1.89.0 |
| 96 | LIBEVENT_VERSION: 2.1.12 |
| 97 | PYTHON_VERSION: "3.14" |
| 98 | QT_VERSION: 6.9.3 |
| 99 | ZLIB_VERSION: 1.3.1 |
| James E. King III | 8d55c47 | 2018-03-12 14:29:55 -0400 | [diff] [blame] | 100 | |
| James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 101 | - PROFILE: MINGW |
| Mario Emmenlauer | 22bb550 | 2021-08-05 15:40:19 +0200 | [diff] [blame] | 102 | PROFILE_CLASS: MINGW |
| Mario Emmenlauer | 166786e | 2021-08-04 10:38:56 +0200 | [diff] [blame] | 103 | # Currently the the latest MSYS2 is in the following image: |
| 104 | APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 |
| James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 105 | PLATFORM: x64 |
| James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 106 | CONFIGURATION: RelWithDebInfo |
| Mario Emmenlauer | 8027936 | 2020-04-24 08:51:37 +0200 | [diff] [blame] | 107 | DISABLED_TESTS: (StalenessCheckTest) |
| James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 108 | |
| Mario Emmenlauer | fcb07b1 | 2021-08-11 19:29:38 +0200 | [diff] [blame] | 109 | # As of 2021.08.06, the Cygwin build is broken with a missing dll exception. |
| 110 | # See for an example https://ci.appveyor.com/project/ApacheSoftwareFoundation/thrift/builds/40263513/job/a69xt6m4o0y9x1bw?fullLog=true |
| 111 | # - PROFILE: CYGWIN |
| 112 | # PROFILE_CLASS: CYGWIN |
| 113 | # PLATFORM: x64 |
| 114 | # CONFIGURATION: RelWithDebInfo |
| 115 | # DISABLED_TESTS: (ZlibTest|OpenSSLManualInitTest|TNonblockingServerTest) |
| Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 116 | |
| Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 117 | |
| 118 | build_script: |
| James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 119 | - cd %APPVEYOR_BUILD_FOLDER% |
| Mario Emmenlauer | ffc7bb9 | 2021-08-05 17:23:35 +0200 | [diff] [blame] | 120 | - call build\appveyor\%PROFILE_CLASS%-appveyor-full.bat |
| James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 121 | |
| James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 122 | |
| James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 123 | # artifact capture disabled as it might increase service cost for little gain: |
| 124 | # |
| 125 | # artifacts: |
| 126 | # - path: local-thrift-inst |
| 127 | # name: cmake installed content |
| 128 | # type: zip |
| 129 | # |
| 130 | # - path: local-thrift-build\Testing |
| 131 | # name: ctest output |
| 132 | # type: zip |
| James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 133 | |
| 134 | # RDP support: use one or the other... |
| 135 | # |
| 136 | # enables RDP for each build job so you can inspect the environment at the beginning of the job: |
| 137 | # init: |
| 138 | # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
| 139 | # |
| 140 | # enables RDP at the end of the build job so you can login and re-run |
| 141 | # commands to see why something failed... |
| James E. King III | c9ac8d2 | 2019-01-07 16:46:45 -0500 | [diff] [blame] | 142 | # on_finish: |
| 143 | # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
| James E. King, III | 82ae957 | 2017-08-05 12:23:54 -0400 | [diff] [blame] | 144 | # |
| 145 | # also need: |
| 146 | # environment: |
| jfarrell | 384647d | 2018-10-16 22:36:46 -0400 | [diff] [blame] | 147 | # APPVEYOR_RDP_PASSWORD: thr1FT2345$xyzZ |