Skip to content

Commit 7155882

Browse files
committed
mingw: fix broken strawberry perl paths
github's mingw is incompatible to old strawberry's 5.32 mingw. See e.g. actions/runner-images#5459
1 parent 911b940 commit 7155882

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/testsuite.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ jobs:
132132
- uses: actions/checkout@master
133133
- run: perl -V
134134
- run: perl Makefile.PL
135+
- run: echo $PATH
136+
shell: bash
135137
#- run: prove -vb t/*.t
136-
- run: make test
138+
# https://github.com/actions/runner-images/issues/5459
139+
- run: PATH="/c/Strawberry/c/bin:/c/Strawberry/perl/site/bin:/c/Strawberry/perl/bin:/c/ProgramData/Chocolatey/bin:/c/Windows/system32:/c/Windows:/usr/bin" make test
140+
shell: bash
137141
#continue-on-error: true

Makefile.PL

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ WriteMakefile(
2323
'Test::Pod' => '1.22',
2424
'Test::More' => 0,
2525
},
26-
(eval { ExtUtils::MakeMaker->VERSION('6.52'); 1 } ?
26+
(eval { ExtUtils::MakeMaker->VERSION('6.52'); 1 } ?
2727
('CONFIGURE_REQUIRES' =>
2828
{
2929
'Crypt::OpenSSL::Guess' => '0.11',

0 commit comments

Comments
 (0)