forked from root-project/cling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
58 lines (47 loc) · 1.63 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
platform:
- x64
#- x86
configuration:
#- Debug
- Release
branches:
only:
- master
cache:
- builddir
clone_depth: 10
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%
- set PATH=c:\gnuwin32\bin;%PATH%
# - appveyor DownloadFile http://gnuwin32.sourceforge.net/downlinks/make-bin-zip.php -FileName make.zip
# - unzip make.zip -d c:\gnuwin32\
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="-G\"Visual Studio 14 2015 Win64\"" ^
--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'))