forked from root-project/cling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
70 lines (58 loc) · 2 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
platform:
- x64
#- x86
configuration:
#- Debug
- Release
branches:
only:
- master
cache:
- builddir
- C:\projects\deps\ninja
clone_depth: 10
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
skip_tags: true
os:
- Visual Studio 2015
build:
parallel: true
verbosity: detailed
install:
- 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:
- 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="-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'))
- cmd: wmic os get osarchitecture
- cmd: echo platform is %platform%
- cmd: set
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'))