cling/appveyor.yml
2016-12-02 11:35:00 +01:00

50 lines
1.5 KiB
YAML

platform:
- x64
- x86
configuration:
#- Debug
- Release
branches:
only:
- master
matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails.
allow_failures:
- platform: x86
configuration: Release
- platform: x64
configuration: Release
skip_tags: true
os:
- Visual Studio 2015
build:
parallel: true
verbosity: detailed
install:
- C:\"Program Files (x86)"\"Microsoft Visual Studio 14.0"\VC\vcvarsall.bat %platform%
build_script:
# appveyor doesn't recognize x64 architecture when running on a virtual machine, so let's force it
- if [%platform%]==[x64] set CMAKE_EXTRA_ARGS=" -DLLVM_HOST_TRIPLE=x86_64-pc-win32 "
- tools\packaging\cpt.py ^
--current-dev=tar ^
--with-cling-url=https://github.com/%APPVEYOR_REPO_NAME% ^
--with-clang-url=http://root.cern.ch/git/clang.git ^
--with-llvm-url=http://root.cern.ch/git/llvm.git ^
--with-cmake-flags="%CMAKE_EXTRA_ARGS%"
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
- cmd: wmic os get osarchitecture
- cmd: echo platform is %platform%
on_failure:
# Your RDP session is limited by overall build time (60 min).
# On every failing build, we have to wait for hours... Uncomment the next line if remote access to the machine is really needed (e.g. for debugging)
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))