Skip to content

Commit

Permalink
build the dist using blingy GNU tar, try to install using primitive O…
Browse files Browse the repository at this point in the history
…penBSD system tar
  • Loading branch information
DrHyde committed Sep 29, 2021
1 parent 03e31aa commit e58e1ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/installation-openbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,18 @@ jobs:
operating_system: openbsd
version: 6.8
shell: bash
# this uses a modern GNU tar to create the dist, to simulate something which can potentially
# have all kinds of bells and whistles being used to create something for the CPAN. cpanm then
# tries to install it using the primitive OpenBSD system tar.
run: |
sudo pkg_add gtar-1.34 &&
cpan App::cpanminus &&
mkdir /home/runner/templib &&
/home/runner/perl5/bin/cpanm --notest -L /home/runner/templib --installdeps . &&
export PERL5LIB=/home/runner/templib/lib/perl5 &&
perl Makefile.PL &&
make test &&
make dist &&
make dist TAR=/usr/local/bin/gtar &&
rm -rf /home/runner/templib &&
/home/runner/perl5/bin/cpanm --notest --installdeps *.tar.gz &&
/home/runner/perl5/bin/cpanm *.tar.gz

0 comments on commit e58e1ad

Please sign in to comment.