cling/appveyor.yml
Bertrand Bellenot c6b70134e4 Next try...
2016-12-02 12:14:04 +01:00

57 lines
1.6 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
# appveyor doesn't recognize x64 architecture when running on a virtual machine, so let's try to force it
environment:
matrix:
- platform: x86
CMAKE_EXTRA_ARGS: ""
- platform: x64
CMAKE_EXTRA_ARGS: "-DLLVM_HOST_TRIPLE=x86_64-pc-win32"
install:
- C:\"Program Files (x86)"\"Microsoft Visual Studio 14.0"\VC\vcvarsall.bat %platform%
build_script:
- 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'))