forked from pgRouting/GSoC-pgRouting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
57 lines (45 loc) · 1.38 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
# ------------------------------------------------------------------------------
# appVeyor script
# Copyright(c) pgRouting Contributors
#
# Main configuration
# ------------------------------------------------------------------------------
version: 2.6.{build}
image: Visual Studio 2013
configuration: Release
platform: x64
clone_depth: 1
clone_folder: c:\build\pgrouting
cache:
- downloads -> appveyor.yml
- c:\build\local\msvc120\x64 -> appveyor
services:
- postgresql96
environment:
CONFIGURATION: Release
MSVC_VER: 12.0
BUILD_ROOT_DIR: c:\build
PGIS_VERSION: 2.4
PG_VER: 9.6
init:
- git config --global core.autocrlf false
install:
# Install pgRouting prerequisites:
# cmake
# postGIS
# CGAL
- call ci\appveyor\install.bat
build_script:
- cd c:\build\pgrouting\ci\appveyor
- msbuild_pgrouting.bat %PG_VER%
- cd %PGROUTING_BUILD_DIR%
- msbuild PGROUTING.sln /target:Build /property:Configuration=%CONFIGURATION%
- msbuild INSTALL.vcxproj /target:Build /property:Configuration=%CONFIGURATION%
test_script:
- set PGUSER=postgres
- set PGPASSWORD=Password12!
- set PGHOME=C:\Progra~1\PostgreSQL\%PG_VER%
- set PGPORT=5432
- set PATH=%PATH%;%PGHOME%\bin
# Execute algorithm test by Cygwin
#- C:\cygwin\bin\bash -lc "cd /cygdrive/c/build/pgrouting && tools/testers/doc_queries_generator.pl -psql \"/cygdrive/c/Progra~1/PostgreSQL/%PG_VER%/bin/psql\""