-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
87 lines (68 loc) · 2.69 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: 1.0.{build}
os: Visual Studio 2015
platform: x64
configuration: Release
matrix:
fast_finish: true
environment:
OSGEO4W_ROOT: C:\\OSGeo4W64
matrix:
- PDAL_OPTIONAL_COMPONENTS: ON
# Should speed up repository cloning
shallow_clone: true
clone_depth: 5
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
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
- ps: mkdir $env:OSGEO4W_ROOT | out-null
# make an install directory for packacing
# get the OSGeo installer
- ps: (new-object net.webclient).DownloadFile("http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe", "C:\temp\osgeo4w-setup.exe")
# and install our dependencies
- C:\temp\osgeo4w-setup.exe -q -k -r -A -s http://download.osgeo.org/osgeo4w/ -a x86_64 -P eigen,gdal,geos,hexer,iconv,laszip,libgeotiff,libpq,libtiff,libxml2,msys,nitro,laz-perf,proj,zlib,python3-core,python3-devel,python3-numpy,oci,oci-devel,laz-perf,jsoncpp,xz-devel,zstd -R %OSGEO4W_ROOT% > NUL
- call %OSGEO4W_ROOT%\bin\o4w_env.bat
- call %OSGEO4W_ROOT%\bin\py3_env.bat
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
- set PATH=%PATH%;C:\Program Files (x86)\CMake\bin
- call scripts\\appveyor\\config.cmd
build_script:
- call scripts\\appveyor\\build.cmd
test_script:
- call scripts\\appveyor\\test.cmd
# We need to install so the artifacts are ready
# for deployment for the OSGeo4W build for all
# other build types, no artifact is made
after_test:
- call scripts\\appveyor\\install.cmd
artifacts:
- path: pdal-$(APPVEYOR_REPO_COMMIT).tar.bz2
name: pdalosgeo4w
type: file
deploy:
# Amazon S3 deployment provider settings
- provider: S3
access_key_id:
secure: 6DDLMtbxyT6amL3m5gmMObyL0ucWzIGxylinnYuMJPM=
secret_access_key:
secure: cSqZlsaCxFwXgxJw0BLd7npMFvQk3Vbr74ZPLaBQWLKnOz1cKss9qab1SzSygwkh
on:
branch: 1.7-maintenance
bucket: "pdal"
folder: "osgeo4w/"
artifact: pdalosgeo4w
set_public: true
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false
- provider: Slack
incoming_webhook:
secure: KxbDvaPmsvNmYpsp0TH3m3hJr7PqQL1sxR8xILBzaF2Lbku03M3mJ/h787TvDGQGX3IlyZtfTP0wvSRqMl4nMmdvDQZoAe8+Gyfc7BOkYIg=