-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (42 loc) · 1.61 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
branches:
except:
- /travis/
skip_tags: true
cache:
- C:\strawberry
#- .alienbuild\plugin_fetch_cache
install:
# - rmdir /S /Q C:\strawberry
- if not exist "C:\strawberry" choco install strawberryperl --version 5.38.2.2
- set ST=C:\strawberry
- set PATH=%ST%\perl\bin;%ST%\perl\site\bin;%ST%\c\bin;%PATH%
- cd C:\projects\%APPVEYOR_PROJECT_NAME%
# ensure we have some packages that aren't picked up by the install system
- cpanm --quiet --notest Alien::Build
- cpanm --quiet --notest Sort::Versions
- cpanm --quiet --notest PkgConfig
- cpanm Alien::Build::Plugin::Cleanse::BuildDir
- cpanm Alien::Build::Plugin::PkgConfig::PPWrapper
- cpanm --quiet --notest Sort::Versions
# this is on cpan now
#- cpanm -v https://github.com/shawnlaffan/perl-alien-geos.git
- cpanm -v --notest Alien::geos::af
- cpanm -v --notest Alien::sqlite
#- cpanm -v --notest https://github.com/shawnlaffan/perl-alien-proj.git
- cpanm -v --notest Alien::proj
- cpanm -v --notest Alien::libtiff
- cpanm -v --notest Alien::sqlite
#- cpanm --quiet --notest --installdeps .
- cpanm --quiet --notest Alien::Build::Plugin::Fetch::Cache
- cpanm --quiet --notest FFI::Platypus
- gcc -v
build_script:
- set ALIEN_GDAL_CONFIG_ARGS=--with-qhull=no
- set ALIEN_BUILD_PRELOAD=Fetch::Cache
- perl Makefile.PL
- cpanm --notest --installdeps .
#- gmake | perl -ne "BEGIN {$|=1; open our $log, q|>|, q|build.log|}; print qq|\n| if 0 == ($. %% 100); print q|.|; print {$log} $_;" || type build.log
- gmake
- gmake test
# some feedback
- type blib\lib\auto\share\dist\Alien-gdal\lib\pkgconfig\gdal.pc