From 0cf878318c9b0099a6b3a4915cdca20b231b8b94 Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Wed, 28 Aug 2024 10:10:34 -0400 Subject: [PATCH] Don't use local::lib on Circle CI --- .circleci/config.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bbfb810..5113067 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,24 +29,12 @@ jobs: - run: name: App::cpanminus version command: cpanm --version - - run: - name: Configure local Perl lib path - command: | - cpanm --local-lib=~/perl5 local::lib && \ - eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) && \ - echo 'export PERL5LIB=/home/circleci/perl5/lib/perl5' >> ~/.bashrc && \ - echo 'export PERL_LOCAL_LIB_ROOT=/home/circleci/perl5' ~/.bashrc && \ - echo 'export PERL_MB_OPT="--install_base \"/home/circleci/perl5\""' >> ~/.bashrc && \ - echo 'export PERL_MM_OPT=INSTALL_BASE=/home/circleci/perl5' >> ~/.bashrc && \ - echo 'export PATH="/home/circleci/perl5/bin:$PATH"' >> ~/.bashrc && \ - echo AUTOMATED_TESTING=1 >> ~/.bashrc && \ - echo AUTHOR_TESTING=1 >> ~/.bashrc - run: name: Prepare testing environment - command: cpanm -iqn Test::Most Test::Needs + command: sudo cpanm -iqn Test::Most Test::Needs - run: name: Install dependancies - command: cpanm -iqn --installdeps . + command: sudo cpanm -iqn --installdeps . - run: name: Make Module command: perl Makefile.PL && make