cling/appveyor.yml

71 lines
2.0 KiB
YAML
Raw Normal View History

platform:
- x64
2016-12-02 17:53:29 +03:00
#- x86
configuration:
2016-08-03 23:27:13 +03:00
#- Debug
- Release
2016-08-12 12:53:33 +03:00
branches:
only:
- master
cache:
- builddir
2017-02-20 00:54:25 +03:00
- C:\projects\deps\ninja
clone_depth: 10
2017-02-20 00:54:25 +03:00
environment:
VSTUDIO_VERS: Microsoft Visual Studio 14.0
matrix:
- CMAKE_GEN: Visual Studio 14 2015 Win64
- CMAKE_GEN: Ninja
# matrix:
# set this flag to immediately finish build once one of the jobs fails.
# fast_finish: true
# allow_failures:
# - platform: x86
# configuration: Release
# - platform: x64
# configuration: Release
2016-08-04 22:19:07 +03:00
skip_tags: true
os:
2016-12-02 18:07:27 +03:00
- Visual Studio 2015
build:
parallel: true
2016-08-03 23:27:13 +03:00
verbosity: detailed
2016-12-02 14:05:23 +03:00
install:
2017-02-20 00:54:25 +03:00
- C:\"Program Files (x86)"\"%VSTUDIO_VERS%"\VC\vcvarsall.bat %platform%
- set PATH=C:\projects\deps\ninja;C:\gnuwin32\bin;%PATH%
- |-
if exist "C:\projects\deps\ninja\" set GETNINJA=rem
if not "%CMAKE_GEN%"=="Ninja" set GETNINJA=rem
%GETNINJA% appveyor DownloadFile "https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-win.zip" -FileName ninja.zip
%GETNINJA% 7z x ninja.zip -oC:\projects\deps\ninja > nul
%GETNINJA% ninja --version
build_script:
2016-12-02 14:05:23 +03:00
- tools\packaging\cpt.py ^
2016-09-13 18:17:53 +03:00
--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 ^
2017-02-20 00:54:25 +03:00
--with-cmake-flags="-DLLVM_OPTIMIZED_TABLEGEN=ON -G\"%CMAKE_GEN%\"" ^
--skip-cleanup
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
2016-12-02 12:19:40 +03:00
- cmd: wmic os get osarchitecture
2016-12-02 12:35:12 +03:00
- cmd: echo platform is %platform%
2016-12-02 16:29:35 +03:00
- cmd: set
on_failure:
# Your RDP session is limited by overall build time (60 min).
2016-12-01 12:57:50 +03:00
# 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'))