-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
43 lines (37 loc) · 1.42 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
branches:
except:
- /travis/
skip_tags: true
cache:
- C:\strawberry
- .alienbuild\plugin_fetch_cache
install:
- if not exist "C:\strawberry" choco install strawberryperl --version 5.26.1.1
- 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
# or that need updating
- cpanm --quiet --notest Alien::Build
#- cpanm --quiet --notest Alien::patch
#- cpanm --quiet --notest HTML::LinkExtor
#- cpanm --quiet --notest Test::CChecker
#- cpanm --quiet --notest Alien::MSYS
- cpanm --quiet --notest Alien::Build::MM
- cpanm --quiet --notest Sort::Versions
- cpanm --quiet --notest PkgConfig
- cpanm --quiet Alien::Build::Plugin::Cleanse::BuildDir
- cpanm --quiet --notest --installdeps .
- cpanm --quiet --notest Alien::Build::Plugin::Fetch::Cache
- gcc -v
build_script:
- set ALIEN_BUILD_PRELOAD=Fetch::Cache
- perl Makefile.PL
#- 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
- echo "==="
- perl -Iblib/lib -Iblib/arch -MAlien::geos::af -E "my @x = eval {Alien::geos::af->dynamic_libs}; say $@ if $@; say join q{ }, @x"
- echo "==="