-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
67 lines (51 loc) · 1.74 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
version: 1.0.{build}
os: Windows Server 2012
platform:
- x64
configuration: Release
environment:
# set the directory to use for OSGeo4W install, our CMake find packages know
# to look here
OSGEODIR: C:\OSGeo4W64
matrix:
- PDAL_OPTIONAL_COMPONENTS: OFF
- PDAL_OPTIONAL_COMPONENTS: ON
install:
# make a temp directory for downloading osgeo4w-setup.exe
# this may not matter as much if part of the install step, as pdal has
# already been cloned, otherwise git would complain about a non-empty
# directory
- ps: mkdir C:\temp | out-null
# make the osgeo directory
- ps: mkdir %OSGEODIR% | out-null
# get the OSGeo installer
- ps: wget http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe -OutFile C:\temp\osgeo4w-setup.exe | out-null
# and install our dependencies
- C:\temp\osgeo4w-setup.exe -s http://download.osgeo.org/osgeo4w/ -a -q -P boost-devel,eigen,gdal,geos,hexer,iconv,laszip,libgeotiff,libtiff,libpq,libxml2,nitro,pcl,points2grid,proj,python-numpy,zlib -R %OSGEODIR% > nul
# call our PDAL install script
- call .\\scripts\\appveyor\\install.cmd
#cache:
# # this should cache our OSGeo4W install between jobs in the build matrix
# - C:\OSGeo4W64
build:
parallel: true
project: PDAL.sln
verbosity: minimal
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false
- provider: Slack
auth_token:
secure: Ycvea4CbhP10k3tQwTr9vU2QMdYa4JusDfbCoOwkns2O87afn/G5eBsUakdM/eyW
channel: pdal
on_build_failure: true
on_build_success: false
on_build_status_changed: true
#test_script:
# - "SET PATH=%OSGEODIR%\\bin;%PATH%"
# - echo %PATH%
# - ctest --output-on-failure -C Release -VV
matrix:
fast_finish: true