From fc28c914ac249e0624fd5cbb3aab9071f6c28d06 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Thu, 20 Oct 2022 21:59:04 +0100 Subject: [PATCH] the perl we were installing in 32-bit containers had 64-bit ints, build our own from source instead --- .github/workflows/linux-32.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/linux-32.yml b/.github/workflows/linux-32.yml index 8d5b821..b3af5b6 100644 --- a/.github/workflows/linux-32.yml +++ b/.github/workflows/linux-32.yml @@ -13,21 +13,24 @@ jobs: container: image: i386/ubuntu:latest steps: - - name: install the Perl header, core modules, building tools + - name: install building tools run: | apt update - apt install -y libperl-dev build-essential + apt install -y build-essential curl + curl -L https://install.perlbrew.pl | bash + bash -c " source ~/perl5/perlbrew/etc/bashrc; perlbrew install --notest perl-5.32.0 " - uses: actions/checkout@v1 - - name: perl -V - run: perl -V - - name: perl %Config - run: perl -MConfig -MData::Dumper -e 'local $Data::Dumper::Sortkeys = 1;warn Dumper \%Config;' - name: run tests env: PERL_USE_UNSAFE_INC: 0 run: | - perl -v - cpan ExtUtils::MakeMaker Test::Pod Test::Pod::Coverage App::cpanminus - cpanm --installdeps . - perl Makefile.PL - make test TEST_VERBOSE=1 + bash -c " + source ~/perl5/perlbrew/etc/bashrc + perlbrew switch perl-5.32.0 + perlbrew install-cpanm + perl -V + cpanm ExtUtils::MakeMaker Test::Pod Test::Pod::Coverage App::cpanminus + cpanm --installdeps . + perl Makefile.PL + make test TEST_VERBOSE=1 + "