Skip to content

Commit

Permalink
Don't use local::lib on Circle CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Aug 28, 2024
1 parent 2c3d697 commit 0cf8783
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cf8783

Please sign in to comment.