forked from gwaldron/osgearth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (29 loc) · 1.32 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
version: 1.0.{build}
shallow_clone: true
os: Visual Studio 2015
install:
- echo Install
- mkdir c:\temp
- cd c:\temp
- ps: Start-FileDownload 'https://ci.appveyor.com/api/projects/bjornblissing/osg-3rdparty-cmake/artifacts/v140-x64.zip?job=Environment%3A+Name%3Dv140-x64%2C+APPVEYOR_BUILD_WORKER_IMAGE%3DVisual+Studio+2015%2C+Generator%3DVisual+Studio+14+2015+Win64'
- ps: Start-FileDownload 'https://s3.amazonaws.com/pelican-public/OpenSceneGraph-dev.zip'
- ps: Start-FileDownload 'http://download.gisinternals.com/sdk/downloads/release-1900-x64-gdal-2-2-3-mapserver-7-0-7-libs.zip'
- 7z x v140-x64.zip
- 7z x OpenSceneGraph-dev.zip
- 7z x release-1900-x64-gdal-2-2-3-mapserver-7-0-7-libs.zip -ogdal
- cd C:\projects\osgearth
build_script:
- set PATH=%PATH%;c:\temp\OpenSceneGraph-dev;c:\temp\gdal;c:\temp\v140-x64.zip
- mkdir build
- cd build
- cmake .. -G "Visual Studio 14 2015 Win64" -DWIN32_USE_MP=ON -DCMAKE_INSTALL_PREFIX=c:\projects\osgearth\install
- cmake --build . --target INSTALL --config Release
- cd ..\install
- 7z a c:\projects\osgearth\osgearth.zip .
artifacts:
- path: osgearth.zip
name: osgearth
notifications:
- provider: Slack
incoming_webhook:
secure: CeOwsQhxU4rvSp7EJrBWYhhfAhTFRMH/RxKYr2PBrAi3vk5hbMJBBYtvPAGtHMXp7k1E0JwbeC3rrtpVtg6wqbpplVMDSQZs+26H/LSY2so=