diff --git a/.github/workflows/linux_bin_build.yml b/.github/workflows/linux_bin_build.yml index 491b64a..d99e77f 100644 --- a/.github/workflows/linux_bin_build.yml +++ b/.github/workflows/linux_bin_build.yml @@ -9,8 +9,8 @@ on: pull_request: env: - PERL5LIB: /home/runner/perl5/lib/perl5 - PERL_LOCAL_LIB_ROOT: /home/runner/perl5/ + PERL5LIB: /home/runner/perl5/lib + PERL_LOCAL_LIB_ROOT: /home/runner/perl5/lib PERL_MB_OPT: --install_base /home/runner/perl5/ PERL_MM_OPT: INSTALL_BASE=/home/runner/perl5/ AUTOMATED_TESTING: 1 @@ -60,7 +60,9 @@ jobs: sudo add-apt-repository ppa:ubuntugis/ppa sudo apt-get install -y gdal-bin cpanm --notest local::lib + eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)" cpanm --notest PkgConfig + cpanm -v Alien::Build cpanm --notest Alien::Base::Wrapper cpanm --notest FFI::Platypus cpanm --notest FFI::Platypus::Declare @@ -73,6 +75,7 @@ jobs: - name: Build run: | + eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)" perl Makefile.PL cpanm --notest --installdeps . make test