-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.cirrus_disabled.yml
62 lines (56 loc) · 2.32 KB
/
.cirrus_disabled.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
freebsd_instance:
image_family: freebsd-13-1
task:
env:
AUTOMATED_TESTING: 1
PERL_MOD_DIR: /perl5
#MAKEFLAGS: -j4
cpan_cache:
folder: /perl5
reupload_on_changes: false # set to false if there is a fingerprint script
fingerprint_script:
- echo $CIRRUS_OS 20230406b
install_script:
- sudo pkg install -y libffi autoconf automake libtool pkgconf sqlite3 gmake cmake git
- sudo pkg install -y p5-App-cpanminus
- sudo pkg install -y gdal
- sudo cpanm local::lib
#- cpanm --local-lib=$PERL_MOD_DIR local::lib && eval $(perl -I ${PERL_MOD_DIR}/lib/perl5/ -Mlocal::lib)
- echo probe local::lib
- perl -I ${PERL_MOD_DIR}/lib/perl5/ -Mlocal::lib
- echo Run it anyway...
- eval $(perl -I ${PERL_MOD_DIR}/lib/perl5/ -Mlocal::lib)
- cpanm --installdeps FFI::Platypus
- cpanm --verbose FFI::Platypus
- cpanm --installdeps --notest Alien::libtiff
- cpanm --installdeps --notest Alien::sqlite
- cpanm --notest Alien::sqlite
- cpanm --installdeps --notest -v Alien::proj
- MAKEFLAGS=-j4 cpanm -v Alien::libtiff
- MAKEFLAGS=-j4 cpanm -v Alien::geos::af
- MAKEFLAGS=-j4 cpanm -v Alien::proj
- cpanm --installdeps --notest Alien::gdal
# speed up compilation by skipping curl based drivers
- export ALIEN_GDAL_CONFIG_ARGS=--with-curl=no
- MAKEFLAGS=-j4 cpanm -v Alien::gdal
# some debug
# - ldd /usr/local/lib/libgdal.so.32.3.6.2
- perl -MAlien::gdal -E'say q{----}; say q{AL } . Alien::gdal->version; say join (q{AL }, Alien::gdal->dynamic_libs); say "----"'
- ldd `perl -MAlien::gdal -e'print Alien::gdal->dynamic_libs'`
- cpanm --notest --installdeps --no-man-pages PDL
- cpanm --notest --no-man-pages PDL
- cpanm Statistics::Descriptive::PDL
- cpanm --installdeps --notest Geo::GDAL::FFI
- cpanm FFI::Platypus::Declare
# - cpanm -v Geo::GDAL::FFI
- cpanm -v https://github.com/ajolma/Geo-GDAL-FFI.git
#- cpanm Test2::Harness
#- cpanm --notest Task::Biodiverse::NoGUI
- cpanm --notest --installdeps .
- cpanm --installdeps .
# - prove -l t/00-load.t # probe
script:
- eval $(perl -I ${PERL_MOD_DIR}/lib/perl5/ -Mlocal::lib)
- prove -l -j 4
# disable for now due to elf error
#- yath -I t/lib -PBiodiverse::TestHelpers -PBiodiverse::BaseData -PGeo::GDAL::FFI -PPDL -D test -j 4