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 | |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 22 | version: '1.0.0-dev.{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 | |
Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 26 | os: |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 27 | - Visual Studio 2017 |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 28 | |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 29 | matrix: |
| 30 | allow_failures: |
| 31 | - PROFILE: CYGWIN |
| 32 | fast_finish: true |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 33 | |
Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 34 | environment: |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 35 | matrix: |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 36 | - PROFILE: MSVC2017 |
James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 37 | PLATFORM: x64 |
| 38 | CONFIGURATION: Release |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 39 | BOOST_VERSION: 1.65.1 |
| 40 | LIBEVENT_VERSION: 2.1.8 |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 41 | PYTHON_VERSION: 3.6 |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 42 | QT_VERSION: 5.10 |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 43 | ZLIB_VERSION: 1.2.11 |
James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 44 | DISABLED_TESTS: StressTestNonBlocking |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 45 | |
James E. King III | 8d55c47 | 2018-03-12 14:29:55 -0400 | [diff] [blame^] | 46 | - PROFILE: MSVC2013 |
| 47 | PLATFORM: x86 |
| 48 | CONFIGURATION: Release |
| 49 | BOOST_VERSION: 1.58.0 |
| 50 | LIBEVENT_VERSION: 2.0.22 |
| 51 | PYTHON_VERSION: 3.5 |
| 52 | QT_VERSION: 5.8 |
| 53 | ZLIB_VERSION: 1.2.8 |
| 54 | DISABLED_TESTS: StressTestNonBlocking |
| 55 | APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 |
| 56 | |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 57 | - PROFILE: MINGW |
James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 58 | PLATFORM: x64 |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 59 | CONFIGURATION: RelWithDebInfo |
| 60 | DISABLED_TESTS: StressTestNonBlocking |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 61 | |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 62 | - PROFILE: CYGWIN |
James E. King III | 860a5f1 | 2018-03-06 14:23:23 -0500 | [diff] [blame] | 63 | PLATFORM: x86 |
| 64 | CONFIGURATION: RelWithDebInfo |
| 65 | DISABLED_TESTS: (ZlibTest|OpenSSLManualInitTest|TNonblockingServerTest|StressTestNonBlocking) |
Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 66 | |
James E. King III | 8d55c47 | 2018-03-12 14:29:55 -0400 | [diff] [blame^] | 67 | # - PROFILE: CYGWIN |
| 68 | # PLATFORM: x64 |
| 69 | # CONFIGURATION: RelWithDebInfo |
| 70 | # DISABLED_TESTS: (ZlibTest|OpenSSLManualInitTest|TNonblockingServerTest|StressTestNonBlocking) |
| 71 | |
Roger Meier | 5d0a806 | 2015-04-12 21:06:11 +0200 | [diff] [blame] | 72 | install: |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 73 | - cd %APPVEYOR_BUILD_FOLDER% |
| 74 | - call build\appveyor\%PROFILE:~0,4%-appveyor-install.bat |
| 75 | - refreshenv |
Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 76 | |
| 77 | build_script: |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 78 | - cd %APPVEYOR_BUILD_FOLDER% |
| 79 | - call build\appveyor\%PROFILE:~0,4%-appveyor-build.bat |
| 80 | |
| 81 | test_script: |
| 82 | - cd %APPVEYOR_BUILD_FOLDER% |
| 83 | - call build\appveyor\%PROFILE:~0,4%-appveyor-test.bat |
| 84 | |
James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 85 | |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 86 | # artifact capture disabled as it might increase service cost for little gain: |
| 87 | # |
| 88 | # artifacts: |
| 89 | # - path: local-thrift-inst |
| 90 | # name: cmake installed content |
| 91 | # type: zip |
| 92 | # |
| 93 | # - path: local-thrift-build\Testing |
| 94 | # name: ctest output |
| 95 | # type: zip |
James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 96 | |
| 97 | # RDP support: use one or the other... |
| 98 | # |
| 99 | # enables RDP for each build job so you can inspect the environment at the beginning of the job: |
| 100 | # init: |
| 101 | # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
| 102 | # |
| 103 | # enables RDP at the end of the build job so you can login and re-run |
| 104 | # commands to see why something failed... |
James E. King, III | 82ae957 | 2017-08-05 12:23:54 -0400 | [diff] [blame] | 105 | #on_finish: |
James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 106 | # - 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] | 107 | # |
| 108 | # also need: |
| 109 | # environment: |
| 110 | # APPVEYOR_RDP_PASSWORD: thr1FT2345$xyzZ |
James E. King, III | 33df4eb | 2017-04-06 08:45:17 -0400 | [diff] [blame] | 111 | |