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 | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 27 | - Visual Studio 2015 |
| 28 | |
| 29 | cache: |
| 30 | - C:\projects\thrift\buildcache -> build\appveyor\MSVC-appveyor-install.bat |
| 31 | - C:\ProgramData\chocolatey\lib -> build\appveyor\MSVC-appveyor-install.bat |
| 32 | - C:\msys64\var\cache\pacman -> build\appveyor\MSYS-appveyor-install.bat |
| 33 | |
| 34 | configuration: |
| 35 | # - Debug |
| 36 | - Release |
| 37 | |
| 38 | platform: |
| 39 | # - x86 |
| 40 | - x64 |
Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 41 | |
| 42 | environment: |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 43 | matrix: |
| 44 | - PROFILE: MSVC2015 |
| 45 | BOOST_VERSION: 1.63.0 |
| 46 | LIBEVENT_VERSION: 2.0.22 |
| 47 | PYTHON_VERSION: 3.6 |
| 48 | QT_VERSION: 5.8 |
| 49 | ZLIB_VERSION: 1.2.11 |
| 50 | |
| 51 | - PROFILE: MINGW |
| 52 | |
| 53 | # - PROFILE: MSVC2010 |
| 54 | # BOOST_VERSION: 1.59.0 |
| 55 | # LIBEVENT_VERSION: 2.0.22 |
| 56 | # PYTHON_VERSION: 3.3 |
| 57 | # ZLIB_VERSION: 1.2.8 |
| 58 | |
| 59 | # - PROFILE: MSYS |
| 60 | |
| 61 | matrix: |
| 62 | allow_failures: |
| 63 | # MSVC2010 appears to be 32-bit only in appveyor |
| 64 | - platform: x64 |
| 65 | PROFILE: MSVC2010 |
| 66 | |
| 67 | # Only have 64-bit MinGW working so far (inside MSYS2) |
| 68 | - platform: x86 |
| 69 | PROFILE: MINGW |
| 70 | - platform: x86 |
| 71 | PROFILE: MSYS |
Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 72 | |
Roger Meier | 5d0a806 | 2015-04-12 21:06:11 +0200 | [diff] [blame] | 73 | install: |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 74 | - cd %APPVEYOR_BUILD_FOLDER% |
| 75 | - call build\appveyor\%PROFILE:~0,4%-appveyor-install.bat |
| 76 | - refreshenv |
Roger Meier | df71a2e | 2015-04-09 01:06:49 +0200 | [diff] [blame] | 77 | |
| 78 | build_script: |
James E. King, III | 07f5997 | 2017-03-10 06:18:33 -0500 | [diff] [blame] | 79 | - cd %APPVEYOR_BUILD_FOLDER% |
| 80 | - call build\appveyor\%PROFILE:~0,4%-appveyor-build.bat |
| 81 | |
| 82 | test_script: |
| 83 | - cd %APPVEYOR_BUILD_FOLDER% |
| 84 | - call build\appveyor\%PROFILE:~0,4%-appveyor-test.bat |
| 85 | |
| 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 |