-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
88 lines (68 loc) · 2.55 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
86
version: 1.0.{build}
os: Visual Studio 2015
platform: x64
configuration: Release
matrix:
fast_finish: true
# 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'))
cache:
C:\Miniconda3-x64\pkgs -> appveyor.yml
install:
- set "CONDA_ROOT=C:\Miniconda3-x64"
- set PATH=%CONDA_ROOT%;%CONDA_ROOT%\\scripts;%CONDA_ROOT%\\Library\\bin;%PATH%;C:\\Program Files (x86)\\CMake\\bin
- conda config --set always_yes yes
- conda config --add channels conda-forge
- conda config --add channels anaconda
- conda update -q conda
- conda config --set auto_update_conda no
- conda update -q --all
- conda info
- python -c "import sys; print(sys.version)"
- python -c "import sys; print(sys.executable)"
- python -c "import sys; print(sys.prefix)"
- call "%CONDA_ROOT%\Scripts\activate.bat" base
- conda install geotiff laszip nitro curl gdal pcl cmake eigen ninja libgdal geos zstd numpy xz libxml2 laz-perf qhull sqlite hdf5 oracle-instantclient numpy-base
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
- call scripts\\appveyor\\config.cmd
build_script:
- call "%CONDA_ROOT%\Scripts\activate.bat" base
- call scripts\\appveyor\\build.cmd
test_script:
- call "%CONDA_ROOT%\Scripts\activate.bat" base
- 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.8-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=