-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
46 lines (41 loc) · 1.6 KB
/
.cirrus.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
freebsd_instance:
#image: freebsd-12-1-release-amd64
image_family: freebsd-14-0
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 20240528
install_script:
- sudo pkg install -y autoconf automake m4 libtool tiff pkgconf sqlite3 gmake cmake patchelf git
- sudo pkg install -y p5-App-cpanminus
- sudo pkg install -y tiff
- 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 --local-lib=~/perl_modules local::lib && eval $(perl -I ~/perl_modules/lib/perl5/ -Mlocal::lib)
- cpanm --notest Path::Tiny # false positive test failures - https://github.com/dagolden/Path-Tiny/issues/275
- cpanm Alien::gmake
- cpanm Alien::Build::Plugin::PkgConfig::PPWrapper
- cpanm --installdeps --notest Alien::sqlite
- cpanm -v Alien::sqlite
- cpanm --installdeps --notest Alien::proj
- cpanm -v Alien::proj
- cpanm --installdeps --notest Alien::libtiff
- cpanm -v Alien::libtiff
- cpanm --installdeps --notest Alien::geos::af
- cpanm -v Alien::geos::af
script:
- eval $(perl -I ${PERL_MOD_DIR}/lib/perl5/ -Mlocal::lib)
- perl Makefile.PL
- cpanm --installdeps .
- make
- make test TEST_VERBOSE=1